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. --- web/attachments/106646-check_nwstat.c.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 web/attachments/106646-check_nwstat.c.patch (limited to 'web/attachments/106646-check_nwstat.c.patch') diff --git a/web/attachments/106646-check_nwstat.c.patch b/web/attachments/106646-check_nwstat.c.patch new file mode 100644 index 0000000..28ac31d --- /dev/null +++ b/web/attachments/106646-check_nwstat.c.patch @@ -0,0 +1,18 @@ +--- check_nwstat.c.orig Tue Oct 26 15:38:55 2004 ++++ check_nwstat.c Tue Oct 26 15:40:36 2004 +@@ -178,13 +178,13 @@ + if(result!=STATE_OK) + return result; + if(!strcmp(recv_buffer,"-1\n")) +- asprintf(&netware_version,""); ++ netware_version = strdup(""); + else { + recv_buffer[strlen(recv_buffer)-1]=0; + asprintf(&netware_version,"NetWare %s: ",recv_buffer); + } + } else +- asprintf(&netware_version,""); ++ netware_version = strdup(""); + + + -- cgit v1.2.3-74-g34f1