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/36305-check_procs_1.5.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 web/attachments/36305-check_procs_1.5.txt (limited to 'web/attachments/36305-check_procs_1.5.txt') diff --git a/web/attachments/36305-check_procs_1.5.txt b/web/attachments/36305-check_procs_1.5.txt new file mode 100644 index 0000000..2cac0d2 --- /dev/null +++ b/web/attachments/36305-check_procs_1.5.txt @@ -0,0 +1,25 @@ +--- nagios-plugins-1.3.0-beta2.orig/plugins/check_procs.c Fri Nov 22 02:33:26 2002 ++++ nagios-plugins-1.3.0-beta2/plugins/check_procs.c Wed Nov 27 16:21:10 2002 +@@ -72,10 +72,10 @@ + int verbose = FALSE; + int uid; + int ppid; +-char *statopts = NULL; +-char *prog = NULL; +-char *args = NULL; +-char *fmt = NULL; ++char *statopts = ""; ++char *prog = ""; ++char *args = ""; ++char *fmt = ""; + char tmp[MAX_INPUT_BUFFER]; + + int +@@ -275,7 +275,6 @@ + }; + #endif + +- asprintf (&fmt, ""); + + for (c = 1; c < argc; c++) + if (strcmp ("-to", argv[c]) == 0) -- cgit v1.2.3-74-g34f1