From 8579aab25eae16e266b03e9b623285e56036c922 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sat, 14 Nov 2009 09:00:16 +0100 Subject: [PATCH] snmp plugin: Rename a variable (missed during merge). --- src/snmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 " -- 2.30.2