summaryrefslogtreecommitdiff
path: root/libexec/ftpd/ftpd.c
diff options
context:
space:
mode:
authorMoritz Jodeit <moritz@cvs.openbsd.org>2005-05-24 02:24:58 +0000
committerMoritz Jodeit <moritz@cvs.openbsd.org>2005-05-24 02:24:58 +0000
commit636bf1e47edff0b4d9dcbd9462a287b72869c5da (patch)
tree76ea87b9832989797ef21aea872f34aa66be0ba4 /libexec/ftpd/ftpd.c
parent5be0651f0bad42da3923ef185dff8c0c9e8e73a4 (diff)
readd endpwent()
Diffstat (limited to 'libexec/ftpd/ftpd.c')
-rw-r--r--libexec/ftpd/ftpd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index da89815db3b..06e05a0f3b3 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftpd.c,v 1.165 2005/05/24 02:12:40 moritz Exp $ */
+/* $OpenBSD: ftpd.c,v 1.166 2005/05/24 02:24:57 moritz Exp $ */
/* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */
/*
@@ -70,7 +70,7 @@ static const char copyright[] =
static const char sccsid[] = "@(#)ftpd.c 8.4 (Berkeley) 4/16/94";
#else
static const char rcsid[] =
- "$OpenBSD: ftpd.c,v 1.165 2005/05/24 02:12:40 moritz Exp $";
+ "$OpenBSD: ftpd.c,v 1.166 2005/05/24 02:24:57 moritz Exp $";
#endif
#endif /* not lint */
@@ -392,6 +392,7 @@ main(int argc, char *argv[])
FTPD_PRIVSEP_USER);
exit(1);
}
+ endpwent();
if (daemon_mode) {
int *fds, n, error, i, fd;