diff options
author | Volker Lendecke <vl@samba.org> | 2011-05-23 12:22:41 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-05-23 15:45:37 +0200 |
commit | e77da2f408a92822c7c1b08cc004890e18c8fc68 (patch) | |
tree | 7c5e1150585589ba006ac6488fb6c5bf2b871fca /source3/libsmb | |
parent | b1a7bdb93c7fda54a29284f1691de1dc4f3bbf6b (diff) | |
download | samba-e77da2f408a92822c7c1b08cc004890e18c8fc68.tar.gz samba-e77da2f408a92822c7c1b08cc004890e18c8fc68.tar.bz2 samba-e77da2f408a92822c7c1b08cc004890e18c8fc68.zip |
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.
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clirap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |