From: Florian Forster Date: Sun, 11 Sep 2016 18:31:31 +0000 (+0200) Subject: apache plugin: End statements with semi-colons. X-Git-Tag: collectd-5.6.1~1^2~9 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=60ec28dd104bdeef4c5ed6882fb2b663ca9da2eb;p=collectd.git apache plugin: End statements with semi-colons. If only I knew why this wasn't considered a syntax error … --- diff --git a/src/apache.c b/src/apache.c index c515e3c5..5b6914c4 100644 --- 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,