From e77da2f408a92822c7c1b08cc004890e18c8fc68 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 23 May 2011 12:22:41 +0200 Subject: s3: Remove a reference to cli->inbuf This is only used for utf16 alignment calculations, "rdata" is aligned the same way as cli->inbuf is. --- source3/libsmb/clirap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c index 5ecc8544d2..a05903e2bc 100644 --- a/source3/libsmb/clirap.c +++ b/source3/libsmb/clirap.c @@ -1079,7 +1079,7 @@ NTSTATUS cli_qfilename(struct cli_state *cli, uint16_t fnum, char *name, return status; } - clistr_pull(cli->inbuf, name, rdata+4, namelen, IVAL(rdata, 0), + clistr_pull(rdata, name, rdata+4, namelen, IVAL(rdata, 0), STR_UNICODE); TALLOC_FREE(rdata); return NT_STATUS_OK; -- cgit