summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--THANKS.in1
-rw-r--r--plugins/check_snmp.c6
2 files changed, 4 insertions, 3 deletions
diff --git a/THANKS.in b/THANKS.in
index c7e44df..cf60bf2 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -197,3 +197,4 @@ Aravind Gottipati
197Kyle Tucker 197Kyle Tucker
198Craig Orsinger 198Craig Orsinger
199Robby Giffin 199Robby Giffin
200Henning Schmiedehausen
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index 8cf1aa6..ac2c58c 100644
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
@@ -93,8 +93,8 @@ char regex_expect[MAX_INPUT_BUFFER] = "";
93regex_t preg; 93regex_t preg;
94regmatch_t pmatch[10]; 94regmatch_t pmatch[10];
95char timestamp[10] = ""; 95char timestamp[10] = "";
96char errbuf[MAX_INPUT_BUFFER]; 96char errbuf[MAX_INPUT_BUFFER] = "";
97char perfstr[MAX_INPUT_BUFFER]; 97char perfstr[MAX_INPUT_BUFFER] = "";
98int cflags = REG_EXTENDED | REG_NOSUB | REG_NEWLINE; 98int cflags = REG_EXTENDED | REG_NOSUB | REG_NEWLINE;
99int eflags = 0; 99int eflags = 0;
100int errcode, excode; 100int 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);