From: Florian Forster Date: Sat, 27 Feb 2010 08:55:44 +0000 (+0100) Subject: write_http plugin: Replace tabs with spaces. X-Git-Tag: collectd-4.10.0~59 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=525de68bcccc5b1093a0cc4275af2974d708fe3a;p=collectd.git write_http plugin: Replace tabs with spaces. So the entire file is indented the same way. --- diff --git a/src/write_http.c b/src/write_http.c index a7aafec8..8c6a1b56 100644 --- a/src/write_http.c +++ b/src/write_http.c @@ -278,7 +278,7 @@ static int wh_value_list_to_string (char *buffer, /* {{{ */ size_t offset = 0; int status; int i; - gauge_t *rates = NULL; + gauge_t *rates = NULL; assert (0 == strcmp (ds->type, vl->type)); @@ -311,14 +311,14 @@ static int wh_value_list_to_string (char *buffer, /* {{{ */ { if (cb->store_rates != 0) { - if (rates == NULL) - rates = uc_get_rate (ds, vl); - if (rates == NULL) - { - WARNING ("write_http plugin: " - "uc_get_rate failed."); - return (-1); - } + if (rates == NULL) + rates = uc_get_rate (ds, vl); + if (rates == NULL) + { + WARNING ("write_http plugin: " + "uc_get_rate failed."); + return (-1); + } BUFFER_ADD (":%lf", rates[i]); } else