mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-17 00:00:40 +00:00
18 lines
476 B
Plaintext
18 lines
476 B
Plaintext
--- 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) {
|