summaryrefslogtreecommitdiff
path: root/session.c
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 /session.c
parent6beac8c5a0b4ecbb92b252d49dc92528340ff993 (diff)
get_last_login_time() called twice.
Diffstat (limited to 'session.c')
-rw-r--r--session.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/session.c b/session.c
index fc56c273..e968e417 100644
--- a/session.c
+++ b/session.c
@@ -708,10 +708,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,
hostname, sizeof(hostname));