summaryrefslogtreecommitdiffstats
path: root/web/attachments/36305-check_procs_1.5.txt
diff options
context:
space:
mode:
Diffstat (limited to 'web/attachments/36305-check_procs_1.5.txt')
-rw-r--r--web/attachments/36305-check_procs_1.5.txt25
1 files changed, 25 insertions, 0 deletions
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 @@
1--- nagios-plugins-1.3.0-beta2.orig/plugins/check_procs.c Fri Nov 22 02:33:26 2002
2+++ nagios-plugins-1.3.0-beta2/plugins/check_procs.c Wed Nov 27 16:21:10 2002
3@@ -72,10 +72,10 @@
4 int verbose = FALSE;
5 int uid;
6 int ppid;
7-char *statopts = NULL;
8-char *prog = NULL;
9-char *args = NULL;
10-char *fmt = NULL;
11+char *statopts = "";
12+char *prog = "";
13+char *args = "";
14+char *fmt = "";
15 char tmp[MAX_INPUT_BUFFER];
16
17 int
18@@ -275,7 +275,6 @@
19 };
20 #endif
21
22- asprintf (&fmt, "");
23
24 for (c = 1; c < argc; c++)
25 if (strcmp ("-to", argv[c]) == 0)