From 400d167072236f9ccbd0e39d54bd2e6ab65b8031 Mon Sep 17 00:00:00 2001 From: Peter Stromberg Date: Tue, 2 Oct 2001 17:43:48 +0000 Subject: as is aleady closed and freed by auth_userresponse, ok millert@ --- libexec/ftpd/ftpd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libexec/ftpd/ftpd.c') 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) { -- cgit v1.2.3