summaryrefslogtreecommitdiff
path: root/source3/libsmb/clidfs.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-01-26 03:38:05 +0100
committerVolker Lendecke <vl@samba.org>2009-01-26 05:39:34 +0100
commit7f25e0da7348d786a36fa14403938b4f209fb52b (patch)
tree0f6a4c4a00e985c09fb0197d59cad1efb612caa1 /source3/libsmb/clidfs.c
parent6baf760d176cc5ea8eb0cba6d68171f1950c1b75 (diff)
downloadsamba-7f25e0da7348d786a36fa14403938b4f209fb52b.tar.gz
samba-7f25e0da7348d786a36fa14403938b4f209fb52b.tar.bz2
samba-7f25e0da7348d786a36fa14403938b4f209fb52b.zip
Decouple clistr_pull from struct cli_state->inbuf
Diffstat (limited to 'source3/libsmb/clidfs.c')
-rw-r--r--source3/libsmb/clidfs.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
index d649c504b7..f853e4e670 100644
--- a/source3/libsmb/clidfs.c
+++ b/source3/libsmb/clidfs.c
@@ -785,9 +785,10 @@ bool cli_dfs_get_referral(TALLOC_CTX *ctx,
if (p + node_offset > endp) {
goto out;
}
- clistr_pull_talloc(ctx, cli, &referrals[i].dfspath,
- p+node_offset, -1,
- STR_TERMINATE|STR_UNICODE );
+ clistr_pull_talloc(ctx, cli->inbuf,
+ &referrals[i].dfspath,
+ p+node_offset, -1,
+ STR_TERMINATE|STR_UNICODE);
if (!referrals[i].dfspath) {
goto out;