git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1a7bdb
)
s3: Remove a reference to cli->inbuf
author
Volker Lendecke
<vl@samba.org>
Mon, 23 May 2011 10:22:41 +0000
(12:22 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 23 May 2011 13:45:37 +0000
(15:45 +0200)
This is only used for utf16 alignment calculations, "rdata" is aligned the
same way as cli->inbuf is.
source3/libsmb/clirap.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clirap.c
b/source3/libsmb/clirap.c
index 5ecc8544d2e8624bb713a2edd6497f5073fd21fc..a05903e2bc9f0fa9d326e4ad2e1f24cee373248b 100644
(file)
--- 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;