From: Sebastian Harl Date: Tue, 13 Oct 2009 17:39:37 +0000 (+0200) Subject: gmond plugin: Fixed a typo. X-Git-Tag: collectd-4.8.2~11 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=db37d40a9325544ca28ec33d80564d21bc18b34f;p=collectd.git gmond plugin: Fixed a typo. For some reason, the value_t members "derive" and "absolute" had been spelled in all capital letters, obviously resulting in a build error. --- diff --git a/src/gmond.c b/src/gmond.c index 3357ea0b..2ffc42a5 100644 --- a/src/gmond.c +++ b/src/gmond.c @@ -542,9 +542,9 @@ static int staging_entry_update (const char *host, const char *name, /* {{{ */ 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);