X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fmemcachec.c;h=13e388e88c494648235ad3adfdcac5f6a3ff4cd6;hp=bd088ecdfce3cb6b67322875e34e416688623e90;hb=d486225f89ea52d8ed2b4242eba2ad94c409f837;hpb=ba1015262cdc912f9d01ab5a76037e65033c54c5 diff --git a/src/memcachec.c b/src/memcachec.c index bd088ecd..13e388e8 100644 --- a/src/memcachec.c +++ b/src/memcachec.c @@ -68,7 +68,7 @@ struct web_page_s /* {{{ */ /* * Global variables; */ -static web_page_t *pages_g = NULL; +static web_page_t *pages_g; /* * Private functions @@ -412,7 +412,7 @@ static void cmc_submit(const web_page_t *wp, const web_match_t *wm, /* {{{ */ vl.values = &value; vl.values_len = 1; sstrncpy(vl.plugin, (wp->plugin_name != NULL) ? wp->plugin_name : "memcachec", - sizeof (vl.plugin)); + sizeof(vl.plugin)); sstrncpy(vl.plugin_instance, wp->instance, sizeof(vl.plugin_instance)); sstrncpy(vl.type, wm->type, sizeof(vl.type)); sstrncpy(vl.type_instance, wm->instance, sizeof(vl.type_instance));