From: Florian Forster Date: Sat, 14 Nov 2009 08:00:16 +0000 (+0100) Subject: snmp plugin: Rename a variable (missed during merge). X-Git-Tag: collectd-4.8.2~5 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=8579aab25eae16e266b03e9b623285e56036c922;p=collectd.git snmp plugin: Rename a variable (missed during merge). --- diff --git a/src/snmp.c b/src/snmp.c index ee402638..00df3779 100644 --- a/src/snmp.c +++ b/src/snmp.c @@ -818,9 +818,9 @@ static value_t csnmp_value_list_to_value (struct variable_list *vl, int type, ret.gauge = (scale * tmp_signed) + shift; } else if (type == DS_TYPE_DERIVE) - ret.derive = (derive_t) temp; + ret.derive = (derive_t) tmp_signed; else if (type == DS_TYPE_ABSOLUTE) - ret.absolute = (absolute_t) temp; + ret.absolute = (absolute_t) tmp_unsigned; else { ERROR ("snmp plugin: csnmp_value_list_to_value: Unknown data source "