diff options
author | Kevin Steves <stevesk@pobox.com> | 2000-10-14 15:31:35 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2000-10-14 15:31:35 +0000 |
commit | 8d3ebb418af75277ac8ed3fccc2ab8d73c6bced3 (patch) | |
tree | 23d26a354148c30cf137e1e8bf298d38b18a2d4d /session.c | |
parent | 6beac8c5a0b4ecbb92b252d49dc92528340ff993 (diff) |
get_last_login_time() called twice.
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -708,10 +708,6 @@ do_login(Session *s) | |||
708 | } | 708 | } |
709 | 709 | ||
710 | /* Get the time and hostname when the user last logged in. */ | 710 | /* Get the time and hostname when the user last logged in. */ |
711 | last_login_time = get_last_login_time(pw->pw_uid, pw->pw_name, | ||
712 | hostname, sizeof(hostname)); | ||
713 | |||
714 | /* Get the time and hostname when the user last logged in. */ | ||
715 | hostname[0] = '\0'; | 711 | hostname[0] = '\0'; |
716 | last_login_time = get_last_login_time(pw->pw_uid, pw->pw_name, | 712 | last_login_time = get_last_login_time(pw->pw_uid, pw->pw_name, |
717 | hostname, sizeof(hostname)); | 713 | hostname, sizeof(hostname)); |