From 420ce8bf170eaff4099ea17f0146b3fbddcc8818 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 27 Feb 2000 18:50:10 +0000 Subject: rename a cpp symbol, to avoid param.h collision --- usr.bin/ssh/log-client.c | 6 +++--- usr.bin/ssh/log-server.c | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/ssh/log-client.c b/usr.bin/ssh/log-client.c index 62709d96cdc..9e20a313afc 100644 --- a/usr.bin/ssh/log-client.c +++ b/usr.bin/ssh/log-client.c @@ -15,7 +15,7 @@ */ #include "includes.h" -RCSID("$Id: log-client.c,v 1.6 1999/11/24 00:26:02 deraadt Exp $"); +RCSID("$Id: log-client.c,v 1.7 2000/02/27 18:50:09 deraadt Exp $"); #include "xmalloc.h" #include "ssh.h" @@ -45,12 +45,12 @@ log_init(char *av0, LogLevel level, SyslogFacility ignored1, int ignored2) } } -#define MSGBUFSIZE 1024 +#define MSGBUFSIZ 1024 void do_log(LogLevel level, const char *fmt, va_list args) { - char msgbuf[MSGBUFSIZE]; + char msgbuf[MSGBUFSIZ]; if (level > log_level) return; diff --git a/usr.bin/ssh/log-server.c b/usr.bin/ssh/log-server.c index 52f56a307e8..124d7fe6b69 100644 --- a/usr.bin/ssh/log-server.c +++ b/usr.bin/ssh/log-server.c @@ -15,7 +15,7 @@ */ #include "includes.h" -RCSID("$Id: log-server.c,v 1.11 1999/11/24 00:26:02 deraadt Exp $"); +RCSID("$Id: log-server.c,v 1.12 2000/02/27 18:50:09 deraadt Exp $"); #include #include "packet.h" @@ -91,13 +91,13 @@ log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr) log_on_stderr = on_stderr; } -#define MSGBUFSIZE 1024 +#define MSGBUFSIZ 1024 void do_log(LogLevel level, const char *fmt, va_list args) { - char msgbuf[MSGBUFSIZE]; - char fmtbuf[MSGBUFSIZE]; + char msgbuf[MSGBUFSIZ]; + char fmtbuf[MSGBUFSIZ]; char *txt = NULL; int pri = LOG_INFO; extern char *__progname; -- cgit v1.2.3