diff --git a/src/syslogd.c b/src/syslogd.c index 739f7a7..3cf2c33 100644 --- a/src/syslogd.c +++ b/src/syslogd.c @@ -50,13 +50,6 @@ static char sccsid[] __attribute__((unused)) = * */ -#define MAXLINE 1024 /* maximum line length */ -#define MAXSVLINE 240 /* maximum saved line length */ -#define DEFUPRI (LOG_USER | LOG_NOTICE) -#define DEFSPRI (LOG_KERN | LOG_CRIT) -#define TIMERINTVL 30 /* interval for checking flush, mark */ -#define RCVBUF_MINSIZE (80 * 1024) /* minimum size of dgram rcv buffer */ - #include "config.h" #include diff --git a/src/syslogd.h b/src/syslogd.h index 172c3e7..1aeaa6c 100644 --- a/src/syslogd.h +++ b/src/syslogd.h @@ -35,6 +35,13 @@ #include "queue.h" #include "syslog.h" +#define MAXLINE 2048 /* maximum line length */ +#define MAXSVLINE MAXLINE /* maximum saved line length */ +#define DEFUPRI (LOG_USER | LOG_NOTICE) +#define DEFSPRI (LOG_KERN | LOG_CRIT) +#define TIMERINTVL 30 /* interval for checking flush, mark */ +#define RCVBUF_MINSIZE (80 * MAXLINE) /* minimum size of dgram rcv buffer */ + /* * Linux uses EIO instead of EBADFD (mrn 12 May 96) */