summaryrefslogtreecommitdiffstats
path: root/sftp-server.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2007-09-17 08:11:33 +0200
committerDamien Miller <djm@mindrot.org>2007-09-17 08:11:33 +0200
commit35e18dba89ac0fd068f16388563861dccbeb527c (patch)
treeb94c40f27747f17acc6eb7779eba383e31c6f616 /sftp-server.c
parent - stevesk@cvs.openbsd.org 2007/09/12 19:39:19 (diff)
downloadopenssh-35e18dba89ac0fd068f16388563861dccbeb527c.tar.xz
openssh-35e18dba89ac0fd068f16388563861dccbeb527c.zip
- djm@cvs.openbsd.org 2007/09/13 04:39:04
[sftp-server.c] fix incorrect test when setting syslog facility; from Jan Pechanec
Diffstat (limited to 'sftp-server.c')
-rw-r--r--sftp-server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sftp-server.c b/sftp-server.c
index 76edebc5a..ee0b4a62e 100644
--- a/sftp-server.c
+++ b/sftp-server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp-server.c,v 1.73 2007/05/17 07:55:29 djm Exp $ */
+/* $OpenBSD: sftp-server.c,v 1.74 2007/09/13 04:39:04 djm Exp $ */
/*
* Copyright (c) 2000-2004 Markus Friedl. All rights reserved.
*
@@ -1244,7 +1244,7 @@ main(int argc, char **argv)
break;
case 'f':
log_facility = log_facility_number(optarg);
- if (log_level == SYSLOG_FACILITY_NOT_SET)
+ if (log_facility == SYSLOG_FACILITY_NOT_SET)
error("Invalid log facility \"%s\"", optarg);
break;
case 'h':