projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e1d790
)
write_graphite plugin: Use cf_util_get_service() for the "Port" option.
author
Florian Forster
<octo@collectd.org>
Mon, 6 Feb 2012 13:54:40 +0000
(14:54 +0100)
committer
Florian Forster
<octo@collectd.org>
Mon, 6 Feb 2012 13:54:40 +0000
(14:54 +0100)
Change-Id: If3f0b32f86a40dbaa22837dc15f51429239af03a
src/write_graphite.c
patch
|
blob
|
history
diff --git
a/src/write_graphite.c
b/src/write_graphite.c
index
6c8a977
..
f7ed195
100644
(file)
--- a/
src/write_graphite.c
+++ b/
src/write_graphite.c
@@
-651,7
+651,7
@@
static int wg_config_carbon (oconfig_item_t *ci)
if (strcasecmp ("Host", child->key) == 0)
cf_util_get_string (child, &cb->node);
else if (strcasecmp ("Port", child->key) == 0)
- cf_util_get_s
tring
(child, &cb->service);
+ cf_util_get_s
ervice
(child, &cb->service);
else if (strcasecmp ("Prefix", child->key) == 0)
cf_util_get_string (child, &cb->prefix);
else if (strcasecmp ("Postfix", child->key) == 0)