projects
/
collection4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e05de8d
)
src/graph.c: uri_escape -> uri_escape_copy
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
3962fec
..
4ed2d15
100644
(file)
--- 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); \