summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 80440c3)
raw | patch | inline | side by side (parent: 80440c3)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 27 Feb 2010 08:55:44 +0000 (09:55 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 27 Feb 2010 08:55:44 +0000 (09:55 +0100) |
So the entire file is indented the same way.
src/write_http.c | patch | blob | history |
diff --git a/src/write_http.c b/src/write_http.c
index a7aafec888037589dd0218203e1677784553d50a..8c6a1b56ea3d0c57dfad0a6b7a7f5c4503325bcf 100644 (file)
--- a/src/write_http.c
+++ b/src/write_http.c
size_t offset = 0;
int status;
int i;
- gauge_t *rates = NULL;
+ gauge_t *rates = NULL;
assert (0 == strcmp (ds->type, vl->type));
{
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