summaryrefslogtreecommitdiff
path: root/sftp-server.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2007-09-17 16:11:33 +1000
committerDamien Miller <djm@mindrot.org>2007-09-17 16:11:33 +1000
commit35e18dba89ac0fd068f16388563861dccbeb527c (patch)
treeb94c40f27747f17acc6eb7779eba383e31c6f616 /sftp-server.c
parent83e04f2023cb80366cf4f06a43f4df6ad2b5f08b (diff)
- 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 @@
1/* $OpenBSD: sftp-server.c,v 1.73 2007/05/17 07:55:29 djm Exp $ */ 1/* $OpenBSD: sftp-server.c,v 1.74 2007/09/13 04:39:04 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000-2004 Markus Friedl. All rights reserved.
4 * 4 *
@@ -1244,7 +1244,7 @@ main(int argc, char **argv)
1244 break; 1244 break;
1245 case 'f': 1245 case 'f':
1246 log_facility = log_facility_number(optarg); 1246 log_facility = log_facility_number(optarg);
1247 if (log_level == SYSLOG_FACILITY_NOT_SET) 1247 if (log_facility == SYSLOG_FACILITY_NOT_SET)
1248 error("Invalid log facility \"%s\"", optarg); 1248 error("Invalid log facility \"%s\"", optarg);
1249 break; 1249 break;
1250 case 'h': 1250 case 'h':