git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df5ee2b
)
oops, mistake in parsing command-arguments. repeated calls to
author
Luke Leighton
<lkcl@samba.org>
Tue, 16 Nov 1999 17:15:45 +0000
(17:15 +0000)
committer
Luke Leighton
<lkcl@samba.org>
Tue, 16 Nov 1999 17:15:45 +0000
(17:15 +0000)
next_token() should not have line to parse as first arg. oops.
source/rpcclient/rpcclient.c
patch
|
blob
|
history
diff --git
a/source/rpcclient/rpcclient.c
b/source/rpcclient/rpcclient.c
index f359045baeb53cc32c2163174995469d04b5bbb0..b1637a3249fbdcc6d1e454dbb87d1655420ad550 100644
(file)
--- a/
source/rpcclient/rpcclient.c
+++ b/
source/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);
}