From e98d39306243c61a69668440556facf37977bfa2 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 21 Aug 2009 09:13:55 +0200 Subject: [PATCH] http plugin: Remove tailing whitespace. --- src/http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.11.0