summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sshlogin.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 955fcef2e..79dc37701 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
120090504
2 - (dtucker) [sshlogin.c] Move the NO_SSH_LASTLOG #ifndef line to include
3 variable declarations. Should prevent unused warnings anywhere it's set
4 (only Crays as far as I can tell) and be a no-op everywhere else.
5
120090318 620090318
2 - (tim) [configure.ac] Remove setting IP_TOS_IS_BROKEN for Cygwin. The problem 7 - (tim) [configure.ac] Remove setting IP_TOS_IS_BROKEN for Cygwin. The problem
3 that setsockopt(IP_TOS) doesn't work on Cygwin has been fixed since 2005. 8 that setsockopt(IP_TOS) doesn't work on Cygwin has been fixed since 2005.
diff --git a/sshlogin.c b/sshlogin.c
index cc35d6024..dff47b6f7 100644
--- a/sshlogin.c
+++ b/sshlogin.c
@@ -86,10 +86,10 @@ get_last_login_time(uid_t uid, const char *logname,
86static void 86static void
87store_lastlog_message(const char *user, uid_t uid) 87store_lastlog_message(const char *user, uid_t uid)
88{ 88{
89#ifndef NO_SSH_LASTLOG
89 char *time_string, hostname[MAXHOSTNAMELEN] = "", buf[512]; 90 char *time_string, hostname[MAXHOSTNAMELEN] = "", buf[512];
90 time_t last_login_time; 91 time_t last_login_time;
91 92
92#ifndef NO_SSH_LASTLOG
93 if (!options.print_lastlog) 93 if (!options.print_lastlog)
94 return; 94 return;
95 95