diff options
Diffstat (limited to 'src/common/outbound.c')
-rw-r--r-- | src/common/outbound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c index db6b3d5b..5dd0d05f 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -2486,7 +2486,7 @@ cmd_lastlog (struct session *sess, char *tbuf, char *word[], char *word_eol[]) } j++; } - if (*word_eol[j]) + if (word_eol[j] != NULL && *word_eol[j]) { lastlog (sess, word_eol[j], flags); return TRUE; |