summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 92585ee)
raw | patch | inline | side by side (parent: 92585ee)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Thu, 19 Oct 2006 19:36:00 +0000 (19:36 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Thu, 19 Oct 2006 19:36:00 +0000 (19:36 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1505 f882894a-f735-0410-b71e-b25c423dba1c
THANKS.in | patch | blob | history | |
plugins/check_snmp.c | patch | blob | history |
diff --git a/THANKS.in b/THANKS.in
index c7e44df3b3d7f87d889854161e6ae1958f716f24..cf60bf2b3c656b1de0e70b2bfb94a4ad53a0720f 100644 (file)
--- a/THANKS.in
+++ b/THANKS.in
Kyle Tucker
Craig Orsinger
Robby Giffin
+Henning Schmiedehausen
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index 8cf1aa67aaeff6c44cec7af72e82ec9126e4bd67..ac2c58ce5fb49ea9de05a968f9518a6ea0e242f9 100644 (file)
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
regex_t preg;
regmatch_t pmatch[10];
char timestamp[10] = "";
-char errbuf[MAX_INPUT_BUFFER];
-char perfstr[MAX_INPUT_BUFFER];
+char errbuf[MAX_INPUT_BUFFER] = "";
+char perfstr[MAX_INPUT_BUFFER] = "";
int cflags = REG_EXTENDED | REG_NOSUB | REG_NEWLINE;
int eflags = 0;
int errcode, excode;
char *ptr = NULL;
char *p2 = NULL;
char *show = NULL;
- char type[8];
+ char type[8] = "";
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEDIR);