X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fdaemon%2Fconfigfile.c;h=1a3c4f45c2360d521eaa82a0c1770a88068aedf6;hb=956a2f4996d9fb0526b6f60c29be9b17c0ad27ba;hp=79ce14b7ab4498356a2710a445f2bf4ac661c9ad;hpb=8f6aa6970bf787e6a11e095322af3338ec781d78;p=collectd.git diff --git a/src/daemon/configfile.c b/src/daemon/configfile.c index 79ce14b7..1a3c4f45 100644 --- a/src/daemon/configfile.c +++ b/src/daemon/configfile.c @@ -314,11 +314,11 @@ static int dispatch_value_plugin(const char *plugin, oconfig_item_t *ci) { status = ssnprintf(buffer_ptr, buffer_free, " %s", ci->values[i].value.string); else if (ci->values[i].type == OCONFIG_TYPE_NUMBER) - status = - ssnprintf(buffer_ptr, buffer_free, " %lf", ci->values[i].value.number); + status = ssnprintf(buffer_ptr, buffer_free, " %lf", + ci->values[i].value.number); else if (ci->values[i].type == OCONFIG_TYPE_BOOLEAN) status = ssnprintf(buffer_ptr, buffer_free, " %s", - ci->values[i].value.boolean ? "true" : "false"); + ci->values[i].value.boolean ? "true" : "false"); if ((status < 0) || (status >= buffer_free)) return -1;