summaryrefslogtreecommitdiff
path: root/session.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-07-17 17:05:14 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-07-17 17:05:14 +1000
commit0999174755bbc5b50d65bfa95e0b322ffd12337c (patch)
treea0153a329222f784d98f8554ecd8d1d98bce23bd /session.h
parent3ca45082017f0fcaf01b0bf781ae33cf1cc57e27 (diff)
downloadopenssh-git-0999174755bbc5b50d65bfa95e0b322ffd12337c.tar.gz
- dtucker@cvs.openbsd.org 2004/07/17 05:31:41
[monitor.c monitor_wrap.c session.c session.h sshd.c sshlogin.c] Move "Last logged in at.." message generation to the monitor, right before recording the new login. Fixes missing lastlog message when /var/log/lastlog is not world-readable and incorrect datestamp when multiple sessions are used (bz #463); much assistance & ok markus@
Diffstat (limited to 'session.h')
-rw-r--r--session.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/session.h b/session.h
index e5250665..48be5070 100644
--- a/session.h
+++ b/session.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.h,v 1.22 2004/04/27 09:46:37 djm Exp $ */
+/* $OpenBSD: session.h,v 1.23 2004/07/17 05:31:41 dtucker Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -39,9 +39,6 @@ struct Session {
int ptyfd, ttyfd, ptymaster;
u_int row, col, xpixel, ypixel;
char tty[TTYSZ];
- /* last login */
- char hostname[MAXHOSTNAMELEN];
- time_t last_login_time;
/* X11 */
u_int display_number;
char *display;