From 36e3c3e323c8ae1609bb5140b2cf549daa6fe322 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 24 Jun 2010 14:45:07 +0200 Subject: [PATCH] src/graph.c: uri_escape -> uri_escape_copy --- src/graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graph.c b/src/graph.c index 3962fec..4ed2d15 100644 --- a/src/graph.c +++ b/src/graph.c @@ -217,7 +217,7 @@ int graph_get_params (graph_config_t *cfg, /* {{{ */ #define COPY_FIELD(field) do { \ const char *str = ident_get_##field (cfg->select); \ char uri_str[1024]; \ - uri_escape (uri_str, str, sizeof (uri_str)); \ + uri_escape_copy (uri_str, str, sizeof (uri_str)); \ strlcat (buffer, #field, buffer_size); \ strlcat (buffer, "=", buffer_size); \ strlcat (buffer, uri_str, buffer_size); \ -- 2.30.2