openbsd-ports/net/proftpd/patches/patch-ad

21 lines
558 B
Plaintext

--- src/log.c.orig Sun Jun 7 16:12:04 1998
+++ src/log.c Sun Jun 7 16:15:34 1998
@@ -38,7 +38,7 @@
static int syslog_open = FALSE;
static int logstderr = TRUE;
static int debug_level = DEBUG0; /* Default is no debug logging */
-static int facility = LOG_DAEMON;
+static int facility = LOG_FTP;
static int runfd = -1;
static char *runfn = NULL;
static int xferfd = -1;
@@ -463,7 +463,7 @@
buf[1023] = '\0';
- log(priority,LOG_AUTHPRIV,buf);
+ log(priority,LOG_FTP,buf);
}
/* Disable logging to stderr, should be done right before forking