summaryrefslogtreecommitdiff
path: root/libexec/ftpd/ftpd.c
diff options
context:
space:
mode:
authorPeter Stromberg <wilfried@cvs.openbsd.org>2001-10-02 17:43:48 +0000
committerPeter Stromberg <wilfried@cvs.openbsd.org>2001-10-02 17:43:48 +0000
commit400d167072236f9ccbd0e39d54bd2e6ab65b8031 (patch)
treeabe332ad8648b70dd3b3fe058c59d6b0f4b7ee32 /libexec/ftpd/ftpd.c
parent87ec4d59fc6cefaef0c58d444d52fe0586ec14ca (diff)
as is aleady closed and freed by auth_userresponse, ok millert@
Diffstat (limited to 'libexec/ftpd/ftpd.c')
-rw-r--r--libexec/ftpd/ftpd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 22fdf78ffc2..68f93e9e114 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftpd.c,v 1.104 2001/09/05 22:32:36 deraadt Exp $ */
+/* $OpenBSD: ftpd.c,v 1.105 2001/10/02 17:43:47 wilfried 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.104 2001/09/05 22:32:36 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: ftpd.c,v 1.105 2001/10/02 17:43:47 wilfried Exp $";
#endif
#endif /* not lint */
@@ -872,7 +872,6 @@ pass(passwd)
usleep(us);
} else {
authok = auth_userresponse(as, passwd, 0);
- auth_close(as);
as = NULL;
}
if (authok == 0) {