get_last_login_time() called twice.

This commit is contained in:
Kevin Steves 2000-10-14 15:31:35 +00:00
parent 6beac8c5a0
commit 8d3ebb418a
1 changed files with 0 additions and 4 deletions

View File

@ -707,10 +707,6 @@ do_login(Session *s)
}
}
/* Get the time and hostname when the user last logged in. */
last_login_time = get_last_login_time(pw->pw_uid, pw->pw_name,
hostname, sizeof(hostname));
/* Get the time and hostname when the user last logged in. */
hostname[0] = '\0';
last_login_time = get_last_login_time(pw->pw_uid, pw->pw_name,