projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33bda9d
)
snmp plugin: Fix compilation issue.
author
Florian Forster
<octo@collectd.org>
Wed, 3 Apr 2013 02:20:17 +0000
(19:20 -0700)
committer
Florian Forster
<octo@collectd.org>
Wed, 3 Apr 2013 02:20:17 +0000
(19:20 -0700)
Thanks to Magnus for pointing this out.
src/snmp.c
patch
|
blob
|
history
diff --git
a/src/snmp.c
b/src/snmp.c
index
7805944
..
38a24cd
100644
(file)
--- a/
src/snmp.c
+++ b/
src/snmp.c
@@
-1204,7
+1204,6
@@
static int csnmp_read_table (host_definition_t *host, data_definition_t *data)
/* Holds the last OID returned by the device. We use this in the GETNEXT
* request to proceed. */
oid_t oid_list[oid_list_len];
- oid_t *oid_list;
/* Set to false when an OID has left its subtree so we don't re-request it
* again. */
_Bool oid_list_todo[oid_list_len];