summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-09-05 00:19:36 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-09-05 00:19:36 +0200
commite8594f461da0701f3e44af2c5baf351b909a5038 (patch)
tree6f1042d426321a42995f991dad9af00e1b759854
parent8230bbd4a4a4b33c727ab187eb064373fc3b816e (diff)
downloadmonitoring-plugins-e8594f461da0701f3e44af2c5baf351b909a5038.tar.gz
check_snmp: Initialize size_t value to 0, not NULL
-rw-r--r--plugins/check_snmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index bae38300..0bc810d1 100644
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
@@ -112,7 +112,7 @@ char *privproto = NULL;
112char *authpasswd = NULL; 112char *authpasswd = NULL;
113char *privpasswd = NULL; 113char *privpasswd = NULL;
114char **oids = NULL; 114char **oids = NULL;
115size_t oids_size = NULL; 115size_t oids_size = 0;
116char *label; 116char *label;
117char *units; 117char *units;
118char *port; 118char *port;