summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e05de8d)
raw | patch | inline | side by side (parent: e05de8d)
author | Florian Forster <ff@octo.it> | |
Thu, 24 Jun 2010 12:45:07 +0000 (14:45 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Thu, 24 Jun 2010 12:45:07 +0000 (14:45 +0200) |
src/graph.c | patch | blob | history |
diff --git a/src/graph.c b/src/graph.c
index 3962fec8d4588dcb99e670b4527ec2704ff0b3fb..4ed2d155c7988e9c24bcfe14dba09d90c0b920d5 100644 (file)
--- a/src/graph.c
+++ b/src/graph.c
#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); \