X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgraph.c;h=4ed2d155c7988e9c24bcfe14dba09d90c0b920d5;hb=36e3c3e323c8ae1609bb5140b2cf549daa6fe322;hp=3962fec8d4588dcb99e670b4527ec2704ff0b3fb;hpb=e05de8dc7bc5a2f0fa7da365e2f3c60b2f42ef4a;p=collection4.git 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); \