summaryrefslogtreecommitdiff
path: root/libexec/ftpd/ftpd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-01-02 21:33:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-01-02 21:33:34 +0000
commitaf29207e9a3549557f0d1c3abcc9f9f398a087ab (patch)
treeefa4c9ebc6c3d6d5a5d80b6a2a47e6b4c95d6b4c /libexec/ftpd/ftpd.c
parent8156a4f74acfbd88d5507aa24c622788e089de91 (diff)
avoid SIGURG race; dg@root.com
Diffstat (limited to 'libexec/ftpd/ftpd.c')
-rw-r--r--libexec/ftpd/ftpd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index c25837ff821..d1ff7fc5a95 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftpd.c,v 1.28 1996/12/14 23:09:46 deraadt Exp $ */
+/* $OpenBSD: ftpd.c,v 1.29 1997/01/02 21:33:33 deraadt Exp $ */
/* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */
/*
@@ -1708,6 +1708,7 @@ void
dologout(status)
int status;
{
+ transflag = 0;
if (logged_in) {
(void) seteuid((uid_t)0);