diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-04 22:19:36 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-04 22:19:36 (GMT) |
commit | e8594f461da0701f3e44af2c5baf351b909a5038 (patch) | |
tree | 6f1042d426321a42995f991dad9af00e1b759854 /plugins/check_snmp.c | |
parent | 8230bbd4a4a4b33c727ab187eb064373fc3b816e (diff) | |
download | monitoring-plugins-e8594f461da0701f3e44af2c5baf351b909a5038.tar.gz |
check_snmp: Initialize size_t value to 0, not NULL
Diffstat (limited to 'plugins/check_snmp.c')
-rw-r--r-- | plugins/check_snmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index bae3830..0bc810d 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c | |||
@@ -112,7 +112,7 @@ char *privproto = NULL; | |||
112 | char *authpasswd = NULL; | 112 | char *authpasswd = NULL; |
113 | char *privpasswd = NULL; | 113 | char *privpasswd = NULL; |
114 | char **oids = NULL; | 114 | char **oids = NULL; |
115 | size_t oids_size = NULL; | 115 | size_t oids_size = 0; |
116 | char *label; | 116 | char *label; |
117 | char *units; | 117 | char *units; |
118 | char *port; | 118 | char *port; |