diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-10-15 21:26:11 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-10-15 21:26:11 +0800 |
commit | 4ba4be5dbf798daaad6ff9d0cd88e38b5aa7f86f (patch) | |
tree | a6bffeade55f55d236542b4eafebe49e116f7351 | |
parent | 2024954ac468d188f1bc509ed047eb9a183beecb (diff) | |
download | freebsd-ports-gnome-4ba4be5dbf798daaad6ff9d0cd88e38b5aa7f86f.tar.gz freebsd-ports-gnome-4ba4be5dbf798daaad6ff9d0cd88e38b5aa7f86f.tar.zst freebsd-ports-gnome-4ba4be5dbf798daaad6ff9d0cd88e38b5aa7f86f.zip |
use correct facility LOG_FTP instead of LOG_MAIL
PR: 30741
Submitted by: Hidenori Ishikawa <hideishi@magisystem.net>
-rw-r--r-- | ftp/ftpproxy/files/patch-main.c | 39 |
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) { |