projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ff7c5a
)
http plugin: Remove tailing whitespace.
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
0a24b60
..
9dc7f80
100644
(file)
--- 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)