summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9ff7c5a)
raw | patch | inline | side by side (parent: 9ff7c5a)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 21 Aug 2009 07:13:55 +0000 (09:13 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 21 Aug 2009 07:13:55 +0000 (09:13 +0200) |
src/http.c | patch | blob | history |
diff --git a/src/http.c b/src/http.c
index 0a24b60e86066955c89beca8c6c5136f8f716f96..9dc7f80b1f2344becf6a7918e91a593a71b47f39 100644 (file)
--- a/src/http.c
+++ b/src/http.c
&& (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)