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:
d00d206
)
s4:libcli/raw: fix SMBtconX response parsing
author
Stefan Metzmacher
<metze@samba.org>
Tue, 24 Jul 2012 06:54:02 +0000
(08:54 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 24 Jul 2012 16:44:03 +0000
(18:44 +0200)
metze
source4/libcli/raw/clitree.c
patch
|
blob
|
history
diff --git
a/source4/libcli/raw/clitree.c
b/source4/libcli/raw/clitree.c
index cee1cd0bf04847d459db547547d77ceeec9b9321..c232b510555d1f9185d3a17504761c1fa0105855 100644
(file)
--- a/
source4/libcli/raw/clitree.c
+++ b/
source4/libcli/raw/clitree.c
@@
-115,8
+115,8
@@
NTSTATUS smb_raw_tcon_recv(struct smbcli_request *req, TALLOC_CTX *mem_ctx,
case RAW_TCON_TCONX:
ZERO_STRUCT(parms->tconx.out);
parms->tconx.out.tid = SVAL(req->in.hdr, HDR_TID);
- if (req->in.wct >=
4
) {
- parms->tconx.out.options = SVAL(req->in.vwv, VWV(
3
));
+ if (req->in.wct >=
3
) {
+ parms->tconx.out.options = SVAL(req->in.vwv, VWV(
2
));
}
/* output is actual service name */