From: Florian Forster Date: Fri, 21 Aug 2009 07:13:55 +0000 (+0200) Subject: http plugin: Remove tailing whitespace. X-Git-Tag: collectd-4.8.0~26^2~14 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e98d39306243c61a69668440556facf37977bfa2;p=collectd.git http plugin: Remove tailing whitespace. --- diff --git a/src/http.c b/src/http.c index 0a24b60e..9dc7f80b 100644 --- a/src/http.c +++ b/src/http.c @@ -124,11 +124,11 @@ static int http_value_list_to_string (char *buffer, int buffer_len, /* {{{ */ && (ds->ds[i].type != DS_TYPE_ABSOLUTE)) return (-1); - if (ds->ds[i].type == DS_TYPE_GAUGE) + if (ds->ds[i].type == DS_TYPE_GAUGE) { status = ssnprintf (buffer + offset, buffer_len - offset, ":%lf", vl->values[i].gauge); - } + } else if (ds->ds[i].type == DS_TYPE_COUNTER) { if (rates == NULL)