From 7f25e0da7348d786a36fa14403938b4f209fb52b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 26 Jan 2009 03:38:05 +0100 Subject: Decouple clistr_pull from struct cli_state->inbuf --- source3/libsmb/clirap.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source3/libsmb/clirap.c') diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c index 1656d9eb1c..3f95e77aee 100644 --- a/source3/libsmb/clirap.c +++ b/source3/libsmb/clirap.c @@ -952,7 +952,8 @@ bool cli_qfilename(struct cli_state *cli, int fnum, char *name, size_t namelen) return False; } - clistr_pull(cli, name, rdata+4, namelen, IVAL(rdata, 0), STR_UNICODE); + clistr_pull(cli->inbuf, name, rdata+4, namelen, IVAL(rdata, 0), + STR_UNICODE); SAFE_FREE(rparam); SAFE_FREE(rdata); @@ -1232,7 +1233,8 @@ NTSTATUS cli_qpathinfo_alt_name(struct cli_state *cli, const char *fname, fstrin return NT_STATUS_INVALID_NETWORK_RESPONSE; } - clistr_pull(cli, alt_name, rdata+4, sizeof(fstring), len, STR_UNICODE); + clistr_pull(cli->inbuf, alt_name, rdata+4, sizeof(fstring), len, + STR_UNICODE); SAFE_FREE(rdata); SAFE_FREE(rparam); -- cgit