Initial support for lastlog -r on win32 (Richard)

This commit is contained in:
Richard Hitt authored and Berke Viktor committed 2012-07-25 22:14:27 +02:00
1 parent 0d36e0cd2f
commit ead7f234e5
2 files changed
+24 -17

No files matched your search

+4 -4
View File
@@ -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;
}