projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
snmp_agent: Try to fix tests
[collectd.git]
/
src
/
utils_format_graphite.c
diff --git
a/src/utils_format_graphite.c
b/src/utils_format_graphite.c
index
6fd0226
..
0bc802b
100644
(file)
--- a/
src/utils_format_graphite.c
+++ b/
src/utils_format_graphite.c
@@
-116,7
+116,7
@@
static int gr_format_name(char *ret, int ret_len, value_list_t const *vl,
if (postfix == NULL)
postfix = "";
if (postfix == NULL)
postfix = "";
- bool preserve_separator = (flags & GRAPHITE_PRESERVE_SEPARATOR)
? 1 : 0
;
+ bool preserve_separator = (flags & GRAPHITE_PRESERVE_SEPARATOR);
gr_copy_escape_part(n_host, vl->host, sizeof(n_host), escape_char,
preserve_separator);
gr_copy_escape_part(n_host, vl->host, sizeof(n_host), escape_char,
preserve_separator);