summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2000-10-14 15:31:35 +0000
committerKevin Steves <stevesk@pobox.com>2000-10-14 15:31:35 +0000
commit8d3ebb418af75277ac8ed3fccc2ab8d73c6bced3 (patch)
tree23d26a354148c30cf137e1e8bf298d38b18a2d4d
parent6beac8c5a0b4ecbb92b252d49dc92528340ff993 (diff)
get_last_login_time() called twice.
-rw-r--r--session.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/session.c b/session.c
index fc56c2732..e968e417e 100644
--- a/session.c
+++ b/session.c
@@ -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));