summaryrefslogtreecommitdiff
path: root/ftp/ftpproxy/files/patch-main.c
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-10-15 13:26:11 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-10-15 13:26:11 +0000
commitbf6a3ff4259a772b345a3c71433cd4b92fb77627 (patch)
treefe7a540e80332c020eff26b8cabf77688a7f2c37 /ftp/ftpproxy/files/patch-main.c
parentRemove shared lib version number from optional LIB_DEPENDS (diff)
use correct facility LOG_FTP instead of LOG_MAIL
PR: 30741 Submitted by: Hidenori Ishikawa <hideishi@magisystem.net>
Notes
Notes: svn path=/head/; revision=48793
Diffstat (limited to '')
-rw-r--r--ftp/ftpproxy/files/patch-main.c39
1 files changed, 20 insertions, 19 deletions
diff --git a/ftp/ftpproxy/files/patch-main.c b/ftp/ftpproxy/files/patch-main.c
index 8666c128f9f7..68c4b369573d 100644
--- a/ftp/ftpproxy/files/patch-main.c
+++ b/ftp/ftpproxy/files/patch-main.c
@@ -1,19 +1,20 @@
-*** main.orig Wed May 16 09:50:37 2001
---- main.c Wed May 16 09:50:57 2001
-***************
-*** 29,35 ****
- #include <stdarg.h>
-
- #include <signal.h>
-! #include <wait.h>
-
- #include <sys/types.h>
- #include <sys/stat.h>
---- 29,35 ----
- #include <stdarg.h>
-
- #include <signal.h>
-! #include <sys/wait.h>
-
- #include <sys/types.h>
- #include <sys/stat.h>
+--- main.c.orig Fri May 11 16:30:04 2001
++++ main.c Mon Oct 15 21:24:20 2001
+@@ -30,7 +30,7 @@
+ #include <stdarg.h>
+
+ #include <signal.h>
+-#include <wait.h>
++#include <sys/wait.h>
+
+ #include <sys/types.h>
+ #include <sys/stat.h>
+@@ -81,7 +81,7 @@
+ config->timeout = 15 * 60;
+ strcpy(config->varname, "PROXY_");
+
+- openlog(program, LOG_PID, LOG_MAIL);
++ openlog(program, LOG_PID, LOG_FTP);
+
+ k = 1;
+ while (k < argc && argv[k][0] == '-' && argv[k][1] != 0) {