summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e728e2b)
raw | patch | inline | side by side (parent: e728e2b)
author | Sebastian Harl <sh@tokkee.org> | |
Tue, 13 Oct 2009 17:39:37 +0000 (19:39 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Tue, 13 Oct 2009 17:39:37 +0000 (19:39 +0200) |
For some reason, the value_t members "derive" and "absolute" had been spelled
in all capital letters, obviously resulting in a build error.
in all capital letters, obviously resulting in a build error.
src/gmond.c | patch | blob | history |
diff --git a/src/gmond.c b/src/gmond.c
index 3357ea0b35ae73d3323324c6ea9de3db8431b858..2ffc42a57d93aadf0b3d3bf080d6566c093592f4 100644 (file)
--- a/src/gmond.c
+++ b/src/gmond.c
else if (ds_type == DS_TYPE_GAUGE)
se->vl.values[ds_index].gauge = value.gauge;
else if (ds_type == DS_TYPE_DERIVE)
- se->vl.values[ds_index].DERIVE += value.derive;
+ se->vl.values[ds_index].derive += value.derive;
else if (ds_type == DS_TYPE_ABSOLUTE)
- se->vl.values[ds_index].ABSOLUTE = value.absolute;
+ se->vl.values[ds_index].absolute = value.absolute;
se->flags |= (0x01 << ds_index);