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 34f77b2be..264288109 100644 --- a/log-server.c +++ b/log-server.c | |||
@@ -15,7 +15,7 @@ | |||
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include "includes.h" | 17 | #include "includes.h" |
18 | RCSID("$Id: log-server.c,v 1.5 1999/11/24 13:26:22 damien Exp $"); | 18 | RCSID("$Id: log-server.c,v 1.6 2000/01/20 13:18:16 damien Exp $"); |
19 | 19 | ||
20 | #include <syslog.h> | 20 | #include <syslog.h> |
21 | #include "packet.h" | 21 | #include "packet.h" |
@@ -97,13 +97,13 @@ log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr) | |||
97 | log_on_stderr = on_stderr; | 97 | log_on_stderr = on_stderr; |
98 | } | 98 | } |
99 | 99 | ||
100 | #define MSGBUFSIZE 1024 | 100 | #define SSH_MSGBUFSIZE 1024 |
101 | 101 | ||
102 | void | 102 | void |
103 | do_log(LogLevel level, const char *fmt, va_list args) | 103 | do_log(LogLevel level, const char *fmt, va_list args) |
104 | { | 104 | { |
105 | char msgbuf[MSGBUFSIZE]; | 105 | char msgbuf[SSH_MSGBUFSIZE]; |
106 | char fmtbuf[MSGBUFSIZE]; | 106 | char fmtbuf[SSH_MSGBUFSIZE]; |
107 | char *txt = NULL; | 107 | char *txt = NULL; |
108 | int pri = LOG_INFO; | 108 | int pri = LOG_INFO; |
109 | 109 | ||