summaryrefslogtreecommitdiff
path: root/security/krb5-appl/files/patch-gssftp__ftpd__ftpd.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 14:30:10 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 14:30:10 +0000
commit1c30911ff0463c1215e15dd9f7acb886ca35a93d (patch)
tree17783a29eefdfe8b1d45e4895ff0daaf7f6e92c3 /security/krb5-appl/files/patch-gssftp__ftpd__ftpd.c
parent- Update to 2.4.3 (diff)
Rename security/ patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363328
Diffstat (limited to 'security/krb5-appl/files/patch-gssftp__ftpd__ftpd.c')
-rw-r--r--security/krb5-appl/files/patch-gssftp__ftpd__ftpd.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/security/krb5-appl/files/patch-gssftp__ftpd__ftpd.c b/security/krb5-appl/files/patch-gssftp__ftpd__ftpd.c
new file mode 100644
index 000000000000..a8860362805b
--- /dev/null
+++ b/security/krb5-appl/files/patch-gssftp__ftpd__ftpd.c
@@ -0,0 +1,17 @@
+--- gssftp/ftpd/ftpd.c.orig Wed Jan 9 14:26:51 2002
++++ gssftp/ftpd/ftpd.c Thu Jan 10 19:00:13 2002
+@@ -487,7 +487,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) {