projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3444db
)
apache plugin: End statements with semi-colons.
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
c515e3c
..
5b6914c
100644
(file)
--- a/
src/apache.c
+++ b/
src/apache.c
@@
-250,7
+250,7
@@
static int config_add (oconfig_item_t *ci)
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,