X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwrite_riemann.c;h=3835a3d58b09e04234c7b3281ed167876042dfa9;hb=dcb67fd746e550f73f4db4db2e2b24ff9788f209;hp=92c8d0caa11b571f4bd1cc957899cd33ff5d7b5e;hpb=41288c6a9ed050b41ad47184aa1b53668c3588cc;p=collectd.git diff --git a/src/write_riemann.c b/src/write_riemann.c index 92c8d0ca..3835a3d5 100644 --- a/src/write_riemann.c +++ b/src/write_riemann.c @@ -685,7 +685,8 @@ static int wrr_config_node(oconfig_item_t *ci) /* {{{ */ if (status != 0) break; #else - WARNING("write_riemann plugin: The Timeout option is not supported. Please upgrade the Riemann client to at least 1.8.0."); + WARNING("write_riemann plugin: The Timeout option is not supported. " + "Please upgrade the Riemann client to at least 1.8.0."); #endif } else if (strcasecmp("Port", child->key) == 0) { host->port = cf_util_get_port_number(child); @@ -794,10 +795,7 @@ static int wrr_config_node(oconfig_item_t *ci) /* {{{ */ ssnprintf(callback_name, sizeof(callback_name), "write_riemann/%s", host->name); - user_data_t ud = { - .data = host, - .free_func = wrr_free - }; + user_data_t ud = {.data = host, .free_func = wrr_free}; pthread_mutex_lock(&host->lock);