Initial support for lastlog -r on win32 (Richard)

This commit is contained in:
Richard Hitt
2012-07-25 22:12:42 +02:00
committed by Berke Viktor
parent 0d36e0cd2f
commit ead7f234e5
2 changed files with 24 additions and 17 deletions

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;
}