summaryrefslogtreecommitdiff
path: root/log-client.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-01-21 00:18:15 +1100
committerDamien Miller <djm@mindrot.org>2000-01-21 00:18:15 +1100
commitee1c0b3d3b1334d2e498aded0151ea8c0d804ebc (patch)
treeb31349cb094ac87bfcd36169810282a961be8f10 /log-client.c
parenteab2ce023614ca49ad9d79c7c5a7ca8ee6204e7d (diff)
- NetBSD patch from David Rankin <drankin@bohemians.lexington.ky.us> and
Christos Zoulas <christos@netbsd.org>
Diffstat (limited to 'log-client.c')
-rw-r--r--log-client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/log-client.c b/log-client.c
index 4d40cf268..668aafff0 100644
--- a/log-client.c
+++ b/log-client.c
@@ -15,7 +15,7 @@
15 */ 15 */
16 16
17#include "includes.h" 17#include "includes.h"
18RCSID("$Id: log-client.c,v 1.3 1999/11/24 13:26:22 damien Exp $"); 18RCSID("$Id: log-client.c,v 1.4 2000/01/20 13:18:16 damien Exp $");
19 19
20#include "xmalloc.h" 20#include "xmalloc.h"
21#include "ssh.h" 21#include "ssh.h"
@@ -45,12 +45,12 @@ log_init(char *av0, LogLevel level, SyslogFacility ignored1, int ignored2)
45 } 45 }
46} 46}
47 47
48#define MSGBUFSIZE 1024 48#define SSH_MSGBUFSIZE 1024
49 49
50void 50void
51do_log(LogLevel level, const char *fmt, va_list args) 51do_log(LogLevel level, const char *fmt, va_list args)
52{ 52{
53 char msgbuf[MSGBUFSIZE]; 53 char msgbuf[SSH_MSGBUFSIZE];
54 54
55 if (level > log_level) 55 if (level > log_level)
56 return; 56 return;