- (djm) [log.c] Fix dumb syntax error; ok dtucker@

(pulled from 4.0 branch).
This commit is contained in:
Darren Tucker 2005-03-09 20:12:47 +11:00
parent b2169235c7
commit 835903da7b
2 changed files with 4 additions and 2 deletions

View File

@ -10,6 +10,7 @@
OpenSSH 4.0 OpenSSH 4.0
- (djm) [contrib/caldera/openssh.spec contrib/redhat/openssh.spec] - (djm) [contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
[contrib/suse/openssh.spec] Update spec file versions [contrib/suse/openssh.spec] Update spec file versions
- (djm) [log.c] Fix dumb syntax error; ok dtucker@
- (djm) Release OpenSSH 4.0p1 - (djm) Release OpenSSH 4.0p1
20050307 20050307
@ -2320,4 +2321,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu - (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 $

3
log.c
View File

@ -193,11 +193,12 @@ debug3(const char *fmt,...)
void void
log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr) log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr)
{ {
argv0 = av0;
#if defined(HAVE_OPENLOG_R) && defined(SYSLOG_DATA_INIT) #if defined(HAVE_OPENLOG_R) && defined(SYSLOG_DATA_INIT)
struct syslog_data sdata = SYSLOG_DATA_INIT; struct syslog_data sdata = SYSLOG_DATA_INIT;
#endif #endif
argv0 = av0;
switch (level) { switch (level) {
case SYSLOG_LEVEL_QUIET: case SYSLOG_LEVEL_QUIET:
case SYSLOG_LEVEL_FATAL: case SYSLOG_LEVEL_FATAL: