projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
collectd.conf(5): Move towards unifying "string literals".
[collectd.git]
/
src
/
target_set.c
diff --git
a/src/target_set.c
b/src/target_set.c
index
e3ec269
..
33ab96c
100644
(file)
--- a/
src/target_set.c
+++ b/
src/target_set.c
@@
-193,7
+193,7
@@
static void ts_subst(char *dest, size_t size, const char *string, /* {{{ */
char *value_str;
const char *key = meta_toc[i];
- s
s
nprintf(meta_name, sizeof(meta_name), "%%{meta:%s}", key);
+ snprintf(meta_name, sizeof(meta_name), "%%{meta:%s}", key);
if (meta_data_as_string(vl->meta, key, &value_str) != 0)
continue;