summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a3444db)
raw | patch | inline | side by side (parent: a3444db)
author | Florian Forster <octo@collectd.org> | |
Sun, 11 Sep 2016 18:31:31 +0000 (20:31 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Sun, 11 Sep 2016 18:31:31 +0000 (20:31 +0200) |
If only I knew why this wasn't considered a syntax error …
src/apache.c | patch | blob | history |
diff --git a/src/apache.c b/src/apache.c
index c515e3c5db57a45bc04e706db387d02b5a27ba24..5b6914c4d2e0fc040fe83f78f3cdf6a5f62b6c37 100644 (file)
--- a/src/apache.c
+++ b/src/apache.c
ssnprintf (callback_name, sizeof (callback_name),
"apache/%s/%s",
(st->host != NULL) ? st->host : hostname_g,
- (st->name != NULL) ? st->name : "default"),
+ (st->name != NULL) ? st->name : "default");
status = plugin_register_complex_read (/* group = */ NULL,
/* name = */ callback_name,