aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2013-09-05 00:19:36 +0200
committerGravatar Holger 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;
char *authpasswd = NULL;
char *privpasswd = NULL;
char **oids = NULL;
-size_t oids_size = NULL;
+size_t oids_size = 0;
char *label;
char *units;
char *port;