projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea77357
)
snmp plugin: codestyle
author
Pavel Rochnyack
<pavel2000@ngs.ru>
Thu, 14 Jun 2018 13:56:34 +0000
(20:56 +0700)
committer
Pavel Rochnyack
<pavel2000@ngs.ru>
Thu, 14 Jun 2018 13:56:34 +0000
(20:56 +0700)
src/snmp.c
patch
|
blob
|
history
diff --git
a/src/snmp.c
b/src/snmp.c
index
35e5dd8
..
27ce3c6
100644
(file)
--- a/
src/snmp.c
+++ b/
src/snmp.c
@@
-1576,8
+1576,7
@@
static int csnmp_read_table(host_definition_t *host, data_definition_t *data) {
}
/* Make sure the OIDs returned by the agent are increasing. Otherwise
- * our
- * table matching algorithm will get confused. */
+ * our table matching algorithm will get confused. */
if ((value_list_tail[i] != NULL) &&
(csnmp_oid_compare(&suffix, &value_list_tail[i]->suffix) <= 0)) {
DEBUG("snmp plugin: host = %s; data = %s; i = %" PRIsz "; "