projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
820f3b2
)
check the status of cf_util_get_string
author
~/.gitconfig
<moshe@forter.com>
Sun, 17 Aug 2014 14:16:34 +0000
(17:16 +0300)
committer
~/.gitconfig
<moshe@forter.com>
Sun, 17 Aug 2014 14:16:34 +0000
(17:16 +0300)
src/write_riemann.c
patch
|
blob
|
history
diff --git
a/src/write_riemann.c
b/src/write_riemann.c
index
7f0211f
..
477109d
100644
(file)
--- a/
src/write_riemann.c
+++ b/
src/write_riemann.c
@@
-766,6
+766,7
@@
static int riemann_config_node(oconfig_item_t *ci) /* {{{ */
break;
} else if (strcasecmp ("EventServicePrefix", child->key) == 0) {
status = cf_util_get_string (child, &host->prefix);
+ if (status != 0)
break;
} else if (strcasecmp ("CheckThresholds", child->key) == 0) {
status = cf_util_get_boolean(child, &host->check_thresholds);