From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- .../151032-nagios-plugins-1.4.1-check_snmp_c_fix.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 web/attachments/151032-nagios-plugins-1.4.1-check_snmp_c_fix.patch (limited to 'web/attachments/151032-nagios-plugins-1.4.1-check_snmp_c_fix.patch') diff --git a/web/attachments/151032-nagios-plugins-1.4.1-check_snmp_c_fix.patch b/web/attachments/151032-nagios-plugins-1.4.1-check_snmp_c_fix.patch new file mode 100644 index 0000000..babe7fc --- /dev/null +++ b/web/attachments/151032-nagios-plugins-1.4.1-check_snmp_c_fix.patch @@ -0,0 +1,18 @@ +--- plugins/check_snmp.c.orig Sat Oct 1 13:45:45 2005 ++++ plugins/check_snmp.c Sat Oct 1 13:46:15 2005 +@@ -206,6 +206,7 @@ + strcat(perfstr, "| "); + while (ptr) { + char *foo; ++ char *str[MAX_INPUT_BUFFER]; + + foo = strstr (ptr, delimiter); + strncat(perfstr, ptr, foo-ptr); +@@ -338,7 +339,6 @@ + + i++; + +- char *str[MAX_INPUT_BUFFER]; + asprintf(str, "=%s%s;;;; ", show, type ? type : ""); + strcat(perfstr, *str); + -- cgit v1.2.3-74-g34f1