diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 1999-10-04 14:32:28 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 1999-10-04 14:32:28 +0000 |
commit | 5f0c4b6514ad7dd7f1d2f8fa1f6a5559be2bd227 (patch) | |
tree | ca29aa15332588c4c57742bcac914fe5f6467f33 /security/krb5-16/files/patch-ai | |
parent | Upgrade to 1.0.4. (diff) |
Update 1.0.6 -> 1.1
Notes
Notes:
svn path=/head/; revision=22159
Diffstat (limited to 'security/krb5-16/files/patch-ai')
-rw-r--r-- | security/krb5-16/files/patch-ai | 42 |
1 files changed, 17 insertions, 25 deletions
diff --git a/security/krb5-16/files/patch-ai b/security/krb5-16/files/patch-ai index 5eacca9caf86..ddfff3d3aff9 100644 --- a/security/krb5-16/files/patch-ai +++ b/security/krb5-16/files/patch-ai @@ -1,25 +1,17 @@ -*** appl/gssftp/ftpd/ftpd.c.ORIG Fri Feb 6 19:41:25 1998 ---- appl/gssftp/ftpd/ftpd.c Tue Jun 30 19:46:01 1998 -*************** -*** 374,380 **** - #ifndef LOG_DAEMON - #define LOG_DAEMON 0 - #endif -! openlog("ftpd", LOG_PID | LOG_NDELAY, LOG_DAEMON); - addrlen = sizeof (his_addr); - if (getpeername(0, (struct sockaddr *)&his_addr, &addrlen) < 0) { - syslog(LOG_ERR, "getpeername (%s): %m",argv[0]); ---- 374,386 ---- - #ifndef LOG_DAEMON - #define LOG_DAEMON 0 - #endif -! -! #ifndef LOG_FTP -! #define FACILITY LOG_DAEMON -! #else -! #define FACILITY LOG_FTP -! #endif -! openlog("ftpd", LOG_PID | LOG_NDELAY, FACILITY); - addrlen = sizeof (his_addr); - if (getpeername(0, (struct sockaddr *)&his_addr, &addrlen) < 0) { - syslog(LOG_ERR, "getpeername (%s): %m",argv[0]); +--- appl/gssftp/ftpd/ftpd.c.orig Wed Sep 1 13:38:40 1999 ++++ appl/gssftp/ftpd/ftpd.c Sat Sep 25 10:25:04 1999 +@@ -477,7 +477,13 @@ + #ifndef LOG_DAEMON + #define LOG_DAEMON 0 + #endif +- openlog("ftpd", LOG_PID | LOG_NDELAY, LOG_DAEMON); ++ ++#ifndef LOG_FTP ++#define FACILITY LOG_DAEMON ++#else ++#define FACILITY LOG_FTP ++#endif ++ openlog("ftpd", LOG_PID | LOG_NDELAY, FACILITY); + + addrlen = sizeof (his_addr); + if (getpeername(0, (struct sockaddr *)&his_addr, &addrlen) < 0) { |