summaryrefslogtreecommitdiff
path: root/libexec/ftpd/ftpd.c
diff options
context:
space:
mode:
authorHans Insulander <hin@cvs.openbsd.org>2001-06-25 16:39:55 +0000
committerHans Insulander <hin@cvs.openbsd.org>2001-06-25 16:39:55 +0000
commite5813d565376fc18146766167a16eda4e64fe8d5 (patch)
treec5057701c3ffe45b851e34ff1ae139dc250006a8 /libexec/ftpd/ftpd.c
parentc8eea18686ccd3f45ea5539a56e5092546b781dc (diff)
millert didn't compile this.
Diffstat (limited to 'libexec/ftpd/ftpd.c')
-rw-r--r--libexec/ftpd/ftpd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index b3833413d70..d2a2e1f756b 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftpd.c,v 1.100 2001/06/25 16:24:27 millert Exp $ */
+/* $OpenBSD: ftpd.c,v 1.101 2001/06/25 16:39:54 hin Exp $ */
/* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */
/*
@@ -73,7 +73,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)ftpd.c 8.4 (Berkeley) 4/16/94";
#else
-static char rcsid[] = "$OpenBSD: ftpd.c,v 1.100 2001/06/25 16:24:27 millert Exp $";
+static char rcsid[] = "$OpenBSD: ftpd.c,v 1.101 2001/06/25 16:39:54 hin Exp $";
#endif
#endif /* not lint */
@@ -750,8 +750,8 @@ user(name)
auth_setitem(as, AUTHV_STYLE, style) < 0 ||
auth_setitem(as, AUTHV_NAME, name) < 0 ||
auth_setitem(as, AUTHV_CLASS, class) < 0 ||
- auth_setitem(as, "login", "yes") < 0)) {
- auth_setitem(as, "notickets", "yes") < 0)) {
+ auth_setoption(as, "login", "yes") < 0 ||
+ auth_setoption(as, "notickets", "yes") < 0)) {
if (as) {
auth_close(as);
as = NULL;