diff options
Diffstat (limited to 'source/lib/cmd_interp.c')
-rw-r--r-- | source/lib/cmd_interp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/cmd_interp.c b/source/lib/cmd_interp.c index 7934dd0ce9b..20812d3f9ae 100644 --- a/source/lib/cmd_interp.c +++ b/source/lib/cmd_interp.c @@ -292,14 +292,14 @@ static BOOL get_cmd_args(char *line) cmd_argv = NULL; /* get the first part of the command */ - if (!next_token(&ptr, tok, NULL, sizeof(tok))) + if (!next_token_nr(&ptr, tok, NULL, sizeof(tok))) return False; do { add_chars_to_array(&cmd_argc, &cmd_argv, tok); } - while (next_token(NULL, tok, NULL, sizeof(tok))); + while (next_token_nr(NULL, tok, NULL, sizeof(tok))); add_chars_to_array(&cmd_argc, &cmd_argv, NULL); |