diff options
Diffstat (limited to 'cli')
-rw-r--r-- | cli/src/cli-rl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli-rl.c b/cli/src/cli-rl.c index 215fbebb99..4ddb2ab149 100644 --- a/cli/src/cli-rl.c +++ b/cli/src/cli-rl.c @@ -295,7 +295,7 @@ cli_rl_autocomplete_prepare (struct cli_state *state, const char *text) if (!word) goto out; - if (!tokens) + if (!token) return 0; matches = cli_rl_get_matches (state, word, token); |