summaryrefslogtreecommitdiff
path: root/libexec/ftpd/ftpd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-19 18:02:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-19 18:02:27 +0000
commit4122935ffb273123b3af51dec29bf1bc44db6555 (patch)
tree96735fd869324520ccba14885619ee349bc6d52f /libexec/ftpd/ftpd.c
parent5a124a937e1152d8b8eaa56c0937bc15c193556d (diff)
mark remaining signal races
Diffstat (limited to 'libexec/ftpd/ftpd.c')
-rw-r--r--libexec/ftpd/ftpd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 97e8e9e18d7..e17dedd9595 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftpd.c,v 1.89 2001/01/09 06:07:03 itojun Exp $ */
+/* $OpenBSD: ftpd.c,v 1.90 2001/01/19 18:02:25 deraadt Exp $ */
/* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */
/*
@@ -625,7 +625,7 @@ static void
lostconn(signo)
int signo;
{
-
+ /* XXX signal races */
if (debug)
syslog(LOG_DEBUG, "lost connection");
dologout(1);
@@ -635,8 +635,9 @@ static void
sigquit(signo)
int signo;
{
+
+ /* XXX signal races */
syslog(LOG_ERR, "got signal %s", strerror(signo));
-
dologout(1);
}