diff options
-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)); |