diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-10-19 19:36:00 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-10-19 19:36:00 +0000 |
commit | 420f2b000942854f5abb621649d62b38315e9d83 (patch) | |
tree | a54c50ceecb2f311b87b2bb572038667a4e32383 | |
parent | 92585ee4a58f85eb7baddc2d8908955934a34334 (diff) | |
download | monitoring-plugins-420f2b000942854f5abb621649d62b38315e9d83.tar.gz |
Initialise strings for Fedora Core 5 (Henning Schmiedehausen)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1505 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | THANKS.in | 1 | ||||
-rw-r--r-- | plugins/check_snmp.c | 6 |
2 files changed, 4 insertions, 3 deletions
@@ -197,3 +197,4 @@ Aravind Gottipati | |||
197 | Kyle Tucker | 197 | Kyle Tucker |
198 | Craig Orsinger | 198 | Craig Orsinger |
199 | Robby Giffin | 199 | Robby Giffin |
200 | Henning Schmiedehausen | ||
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index 8cf1aa67..ac2c58ce 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c | |||
@@ -93,8 +93,8 @@ char regex_expect[MAX_INPUT_BUFFER] = ""; | |||
93 | regex_t preg; | 93 | regex_t preg; |
94 | regmatch_t pmatch[10]; | 94 | regmatch_t pmatch[10]; |
95 | char timestamp[10] = ""; | 95 | char timestamp[10] = ""; |
96 | char errbuf[MAX_INPUT_BUFFER]; | 96 | char errbuf[MAX_INPUT_BUFFER] = ""; |
97 | char perfstr[MAX_INPUT_BUFFER]; | 97 | char perfstr[MAX_INPUT_BUFFER] = ""; |
98 | int cflags = REG_EXTENDED | REG_NOSUB | REG_NEWLINE; | 98 | int cflags = REG_EXTENDED | REG_NOSUB | REG_NEWLINE; |
99 | int eflags = 0; | 99 | int eflags = 0; |
100 | int errcode, excode; | 100 | int errcode, excode; |
@@ -151,7 +151,7 @@ main (int argc, char **argv) | |||
151 | char *ptr = NULL; | 151 | char *ptr = NULL; |
152 | char *p2 = NULL; | 152 | char *p2 = NULL; |
153 | char *show = NULL; | 153 | char *show = NULL; |
154 | char type[8]; | 154 | char type[8] = ""; |
155 | 155 | ||
156 | setlocale (LC_ALL, ""); | 156 | setlocale (LC_ALL, ""); |
157 | bindtextdomain (PACKAGE, LOCALEDIR); | 157 | bindtextdomain (PACKAGE, LOCALEDIR); |