From: Florian Forster Date: Thu, 24 Jun 2010 12:45:07 +0000 (+0200) Subject: src/graph.c: uri_escape -> uri_escape_copy X-Git-Tag: v4.0.0~188 X-Git-Url: https://git.octo.it/?p=collection4.git;a=commitdiff_plain;h=36e3c3e323c8ae1609bb5140b2cf549daa6fe322;hp=e05de8dc7bc5a2f0fa7da365e2f3c60b2f42ef4a src/graph.c: uri_escape -> uri_escape_copy --- 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); \