Code

Merge branch 'collectd-5.5' into collectd-5.6
[collectd.git] / src / apache.c
index e10a15d46a01e4b9ba6a429d7ecb16861d022a10..b57d08edc447c9005d32fded65b85d00d425b111 100644 (file)
@@ -249,7 +249,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,