diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-16 17:15:45 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-16 17:15:45 +0000 |
commit | 01e61554cab3ef00c7cbe41a9b7e6c985194b6d5 (patch) | |
tree | 3a899cd58e20d4c95b9a32367588fd0974b66f23 | |
parent | 774d2d73666b7deca79ae90dd10397e2e1f8e6d9 (diff) | |
download | samba-01e61554cab3ef00c7cbe41a9b7e6c985194b6d5.tar.gz samba-01e61554cab3ef00c7cbe41a9b7e6c985194b6d5.tar.bz2 samba-01e61554cab3ef00c7cbe41a9b7e6c985194b6d5.zip |
oops, mistake in parsing command-arguments. repeated calls to
next_token() should not have line to parse as first arg. oops.
(This used to be commit 3273bc068d0e0a8eefc92f9b21db47f239b76d21)
-rw-r--r-- | source3/rpcclient/rpcclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index f359045bae..b1637a3249 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -1264,7 +1264,7 @@ static char **completion_fn(char *text, int start, int end) for (i = 0; i <= end; i++) { if ((rl_line_buffer[i] != ' ') && (lastch == ' ')) { - if (next_token(&ptr, tmp, NULL, sizeof(tmp))) + if (next_token(NULL, tmp, NULL, sizeof(tmp))) { add_chars_to_array(&cmd_argc, &cmd_argv, tmp); } |