summaryrefslogtreecommitdiff
path: root/log-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'log-server.c')
-rw-r--r--log-server.c8
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"
18RCSID("$Id: log-server.c,v 1.5 1999/11/24 13:26:22 damien Exp $"); 18RCSID("$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
102void 102void
103do_log(LogLevel level, const char *fmt, va_list args) 103do_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