summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 52ea6f2)
raw | patch | inline | side by side (parent: 52ea6f2)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 24 May 2006 09:05:35 +0000 (09:05 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 24 May 2006 09:05:35 +0000 (09:05 +0000) |
(Gerhard Lausser)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1399 f882894a-f735-0410-b71e-b25c423dba1c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1399 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_snmp.c | patch | blob | history |
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index db106f267cdcacd20fc9553ce63462cc809156c2..b53fb1129f6a4830ad33445d2380314e605a4d05 100644 (file)
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
char *p2 = NULL;
char *show = NULL;
char type[8];
+ char *str[MAX_INPUT_BUFFER];
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEDIR);
i++;
- char *str[MAX_INPUT_BUFFER];
asprintf(str, "=%s%s;;;; ", show, type ? type : "");
strcat(perfstr, *str);