diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2005-09-07 08:46:49 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2005-09-07 08:46:49 +0000 |
commit | 8e3961f2a75c1f5c509e6e4b4177a53a620ed55c (patch) | |
tree | 895e98941e72d6a2e584bb87c86629be1b6ce718 /net-mgmt/nagios-plugins | |
parent | 6a8c8574bfe15c2c30cd02af944f937a2db0403a (diff) | |
download | ports-8e3961f2a75c1f5c509e6e4b4177a53a620ed55c.tar.gz ports-8e3961f2a75c1f5c509e6e4b4177a53a620ed55c.zip |
Notes
Diffstat (limited to 'net-mgmt/nagios-plugins')
-rw-r--r-- | net-mgmt/nagios-plugins/files/patch-check_snmp.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-mgmt/nagios-plugins/files/patch-check_snmp.c b/net-mgmt/nagios-plugins/files/patch-check_snmp.c new file mode 100644 index 000000000000..7cc1009fad62 --- /dev/null +++ b/net-mgmt/nagios-plugins/files/patch-check_snmp.c @@ -0,0 +1,18 @@ +--- plugins/check_snmp.c.orig Wed Sep 7 12:35:57 2005 ++++ plugins/check_snmp.c Wed Sep 7 12:43:03 2005 +@@ -141,6 +141,7 @@ + char *p2 = NULL; + char *show = NULL; + char type[8]; ++ char *str[MAX_INPUT_BUFFER]; + + setlocale (LC_ALL, ""); setlocale(LC_NUMERIC, "C"); + bindtextdomain (PACKAGE, LOCALEDIR); +@@ -338,7 +339,6 @@ + + i++; + +- char *str[MAX_INPUT_BUFFER]; + asprintf(str, "=%s%s;;;; ", show, type ? type : ""); + strcat(perfstr, *str); + |