projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1792422
)
snmp plugin: Rename a variable (missed during merge).
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sat, 14 Nov 2009 08:00:16 +0000
(09:00 +0100)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sat, 14 Nov 2009 08:00:16 +0000
(09:00 +0100)
src/snmp.c
patch
|
blob
|
history
diff --git
a/src/snmp.c
b/src/snmp.c
index
ee40263
..
00df377
100644
(file)
--- 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) t
emp
;
+ ret.derive = (derive_t) t
mp_signed
;
else if (type == DS_TYPE_ABSOLUTE)
- ret.absolute = (absolute_t) t
emp
;
+ ret.absolute = (absolute_t) t
mp_unsigned
;
else
{
ERROR ("snmp plugin: csnmp_value_list_to_value: Unknown data source "