summary refs log tree commit diff stats
path: root/src/common/outbound.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/outbound.c')
-rw-r--r--src/common/outbound.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c
index 5396ce57..e083eff2 100644
--- a/src/common/outbound.c
+++ b/src/common/outbound.c
@@ -2386,7 +2386,11 @@ 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;