From ead7f234e5e993eea7cf2f0e0059e463acc926fd Mon Sep 17 00:00:00 2001 From: Richard Hitt Date: Wed, 25 Jul 2012 22:12:42 +0200 Subject: Initial support for lastlog -r on win32 (Richard) --- src/common/outbound.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/common') diff --git a/src/common/outbound.c b/src/common/outbound.c index e083eff2..011deaeb 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -2386,13 +2386,13 @@ cmd_lastlog (struct session *sess, char *tbuf, char *word[], char *word_eol[]) if (*word_eol[2]) { if (!strcmp (word[2], "-r")) -#ifdef WIN32 - lastlog (sess, word_eol[3], FALSE); -#else + { lastlog (sess, word_eol[3], TRUE); -#endif + } else + { lastlog (sess, word_eol[2], FALSE); + } return TRUE; } -- cgit 1.4.1