Displaying 1 result from an estimated 1 matches for "found_last_login_tim".
Did you mean:
found_last_login_time
2002 Jan 30
0
[Bug 87] New: Last logon that gets reported upon login is the current login time
...s, command, last_login_time, hostname);
# ifdef LOGIN_NEEDS_UTMPX
else
do_pre_login(s);
@@ -682,13 +688,11 @@
/* administrative, login(1)-like work */
void
-do_login(Session *s, const char *command)
+do_login(Session *s, const char *command, const time_t found_last_login_time,
const char *last_host)
{
char *time_string;
- char hostname[MAXHOSTNAMELEN];
socklen_t fromlen;
struct sockaddr_storage from;
- time_t last_login_time;
struct passwd * pw = s->pw;
pid_t pid = getpid();
@@ -706,13 +710,6 @@...