projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c6867a1
)
curl plugin: re-format
author
Jakub Jankowski
<shasta@toxcorp.com>
Mon, 5 Nov 2018 23:33:26 +0000
(
00:33
+0100)
committer
Jakub Jankowski
<shasta@toxcorp.com>
Mon, 5 Nov 2018 23:33:26 +0000
(
00:33
+0100)
src/curl.c
patch
|
blob
|
history
diff --git
a/src/curl.c
b/src/curl.c
index
950e30b
..
292b165
100644
(file)
--- a/
src/curl.c
+++ b/
src/curl.c
@@
-445,7
+445,8
@@
static int cc_config_add_page(oconfig_item_t *ci) /* {{{ */
status = cf_util_get_string(child, &af);
if (status != 0 || af == NULL) {
WARNING("curl plugin: Cannot parse value of `%s' "
status = cf_util_get_string(child, &af);
if (status != 0 || af == NULL) {
WARNING("curl plugin: Cannot parse value of `%s' "
- "for instance `%s'.", child->key, page->instance);
+ "for instance `%s'.",
+ child->key, page->instance);
} else if (strcasecmp("any", af) == 0) {
page->address_family = CURL_IPRESOLVE_WHATEVER;
} else if (strcasecmp("ipv4", af) == 0) {
} else if (strcasecmp("any", af) == 0) {
page->address_family = CURL_IPRESOLVE_WHATEVER;
} else if (strcasecmp("ipv4", af) == 0) {
@@
-462,7
+463,8
@@
static int cc_config_add_page(oconfig_item_t *ci) /* {{{ */
"Using fallback `any'.");
} else {
WARNING("curl plugin: Unsupported value of `%s' "
"Using fallback `any'.");
} else {
WARNING("curl plugin: Unsupported value of `%s' "
- "for instance `%s'.", child->key, page->instance);
+ "for instance `%s'.",
+ child->key, page->instance);
status = -1;
}
} else if (strcasecmp("User", child->key) == 0)
status = -1;
}
} else if (strcasecmp("User", child->key) == 0)