summaryrefslogtreecommitdiff
path: root/source3/smbd/pipes.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-03-03 00:33:15 +0100
committerVolker Lendecke <vl@samba.org>2012-03-10 15:34:12 +0100
commit572bc64b594d0d30cb64976579a55e74f01800d2 (patch)
tree780ec50404e7dd6f3dbe27ac3896e2ee4928bfde /source3/smbd/pipes.c
parent12068d4aaca0579b58bbb121df4d1e947f8ea032 (diff)
downloadsamba-572bc64b594d0d30cb64976579a55e74f01800d2.tar.gz
samba-572bc64b594d0d30cb64976579a55e74f01800d2.tar.bz2
samba-572bc64b594d0d30cb64976579a55e74f01800d2.zip
s3: Remove "req_wct_ofs()"
This is fixed up in construct_reply_chain
Diffstat (limited to 'source3/smbd/pipes.c')
-rw-r--r--source3/smbd/pipes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c
index b39c0f0e59..c21b635bfb 100644
--- a/source3/smbd/pipes.c
+++ b/source3/smbd/pipes.c
@@ -479,7 +479,7 @@ static void pipe_read_andx_done(struct tevent_req *subreq)
SSVAL(req->outbuf,smb_vwv5,nread);
SSVAL(req->outbuf,smb_vwv6,
- req_wct_ofs(req)
+ (smb_wct - 4) /* offset from smb header to wct */
+ 1 /* the wct field */
+ 12 * sizeof(uint16_t) /* vwv */
+ 2); /* the buflen field */