diff options
author | Damien Miller <djm@mindrot.org> | 2000-01-21 00:18:15 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-01-21 00:18:15 +1100 |
commit | ee1c0b3d3b1334d2e498aded0151ea8c0d804ebc (patch) | |
tree | b31349cb094ac87bfcd36169810282a961be8f10 /log-server.c | |
parent | eab2ce023614ca49ad9d79c7c5a7ca8ee6204e7d (diff) |
- NetBSD patch from David Rankin <drankin@bohemians.lexington.ky.us> and
Christos Zoulas <christos@netbsd.org>
Diffstat (limited to 'log-server.c')
-rw-r--r-- | log-server.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/log-server.c b/log-server.c index 34f77b2b..26428810 100644 --- a/log-server.c +++ b/log-server.c @@ -15,7 +15,7 @@ */ #include "includes.h" -RCSID("$Id: log-server.c,v 1.5 1999/11/24 13:26:22 damien Exp $"); +RCSID("$Id: log-server.c,v 1.6 2000/01/20 13:18:16 damien Exp $"); #include <syslog.h> #include "packet.h" @@ -97,13 +97,13 @@ log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr) log_on_stderr = on_stderr; } -#define MSGBUFSIZE 1024 +#define SSH_MSGBUFSIZE 1024 void do_log(LogLevel level, const char *fmt, va_list args) { - char msgbuf[MSGBUFSIZE]; - char fmtbuf[MSGBUFSIZE]; + char msgbuf[SSH_MSGBUFSIZE]; + char fmtbuf[SSH_MSGBUFSIZE]; char *txt = NULL; int pri = LOG_INFO; |