From 835903da7bc133033186765c4a31421016de0895 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Wed, 9 Mar 2005 20:12:47 +1100 Subject: [PATCH] - (djm) [log.c] Fix dumb syntax error; ok dtucker@ (pulled from 4.0 branch). --- ChangeLog | 3 ++- log.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 138e3240b..598977e1d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,7 @@ OpenSSH 4.0 - (djm) [contrib/caldera/openssh.spec contrib/redhat/openssh.spec] [contrib/suse/openssh.spec] Update spec file versions + - (djm) [log.c] Fix dumb syntax error; ok dtucker@ - (djm) Release OpenSSH 4.0p1 20050307 @@ -2320,4 +2321,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.3707 2005/03/09 00:03:08 djm Exp $ +$Id: ChangeLog,v 1.3708 2005/03/09 09:12:47 dtucker Exp $ diff --git a/log.c b/log.c index bb95c6c39..96ab24b04 100644 --- a/log.c +++ b/log.c @@ -193,11 +193,12 @@ debug3(const char *fmt,...) void log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr) { - argv0 = av0; #if defined(HAVE_OPENLOG_R) && defined(SYSLOG_DATA_INIT) struct syslog_data sdata = SYSLOG_DATA_INIT; #endif + argv0 = av0; + switch (level) { case SYSLOG_LEVEL_QUIET: case SYSLOG_LEVEL_FATAL: