diff options
author | tg <tg@FreeBSD.org> | 1997-09-05 11:44:00 +0000 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 1997-09-05 11:44:00 +0000 |
commit | 572d82313f682971f03ba47c832271490846a004 (patch) | |
tree | b83a634d2eda2115936b2faf828f4c6fc1c1a904 /libexec/ftpd/ftpd.c | |
parent | ac3b66e27a37035f1c56d55a323e1a29a6105ef4 (diff) | |
download | FreeBSD-src-572d82313f682971f03ba47c832271490846a004.zip FreeBSD-src-572d82313f682971f03ba47c832271490846a004.tar.gz |
Hopefully better fix for logwtmp(): rename to a private
version ftpd_logwtmp().
Diffstat (limited to 'libexec/ftpd/ftpd.c')
-rw-r--r-- | libexec/ftpd/ftpd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index 37407a3..d961546 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ftpd.c,v 1.40 1997/05/21 23:24:41 danny Exp $ + * $Id: ftpd.c,v 1.41 1997/07/24 09:26:12 davidn Exp $ */ #if 0 @@ -889,7 +889,7 @@ end_login() (void) seteuid((uid_t)0); if (logged_in) - logwtmp(ttyline, "", ""); + ftpd_logwtmp(ttyline, "", ""); pw = NULL; #ifdef LOGIN_CAP setusercontext(NULL, getpwuid(0), (uid_t)0, @@ -994,7 +994,7 @@ skip: #endif /* open wtmp before chroot */ - logwtmp(ttyline, pw->pw_name, remotehost); + ftpd_logwtmp(ttyline, pw->pw_name, remotehost); logged_in = 1; if (guest && stats && statfd < 0) @@ -1932,7 +1932,7 @@ dologout(status) if (logged_in) { (void) seteuid((uid_t)0); - logwtmp(ttyline, "", ""); + ftpd_logwtmp(ttyline, "", ""); #if defined(KERBEROS) if (!notickets && krbtkfile_env) unlink(krbtkfile_env); |