diff options
Diffstat (limited to 'source3/lib/cmd_interp.c')
-rw-r--r-- | source3/lib/cmd_interp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/cmd_interp.c b/source3/lib/cmd_interp.c index 7934dd0ce9..20812d3f9a 100644 --- a/source3/lib/cmd_interp.c +++ b/source3/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); |