diff options
author | Eric Jackson <ericj@cvs.openbsd.org> | 2000-01-14 20:58:22 +0000 |
---|---|---|
committer | Eric Jackson <ericj@cvs.openbsd.org> | 2000-01-14 20:58:22 +0000 |
commit | 8bab3ea444ebfca570293d8d13dca70b94a2c82e (patch) | |
tree | 4218ab30c7ffe272295491a0de74b04b7b8e1cfa /libexec | |
parent | 79cad7d68cb7fc915ad1b0276f7a58588b77a57f (diff) |
call dologout() with 1. not -1
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/ftpd/ftpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index d1726603516..bf3f7bea219 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ftpd.c,v 1.65 1999/12/10 10:41:44 deraadt Exp $ */ +/* $OpenBSD: ftpd.c,v 1.66 2000/01/14 20:58:21 ericj Exp $ */ /* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */ /* @@ -623,7 +623,7 @@ lostconn(signo) if (debug) syslog(LOG_DEBUG, "lost connection"); - dologout(-1); + dologout(1); } static void @@ -632,7 +632,7 @@ sigquit(signo) { syslog(LOG_ERR, "got signal %s", strsignal(signo)); - dologout(-1); + dologout(1); } /* |