summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));