diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-06-11 14:35:55 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-08-06 09:51:13 +0200 |
commit | 8c457da273dd755a213b55550f47f71ef40a6164 (patch) | |
tree | 8e39a8ba3d1230a60d889777d64484c05f10ac07 /source3/smbd/reply.c | |
parent | 45de62514a0785c6d22ccc01f02699447fa8070c (diff) | |
download | samba-8c457da273dd755a213b55550f47f71ef40a6164.tar.gz samba-8c457da273dd755a213b55550f47f71ef40a6164.tar.xz samba-8c457da273dd755a213b55550f47f71ef40a6164.zip |
s3:smbd: pass smbXsrv_connection to is_valid_writeX_buffer()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r-- | source3/smbd/reply.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 22e06f2c79..5371537b05 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -4617,7 +4617,7 @@ strict_unlock: (2*14) + /* word count (including bcc) */ \ 1 /* pad byte */) -bool is_valid_writeX_buffer(struct smbd_server_connection *sconn, +bool is_valid_writeX_buffer(struct smbXsrv_connection *xconn, const uint8_t *inbuf) { size_t numtowrite; @@ -4646,7 +4646,7 @@ bool is_valid_writeX_buffer(struct smbd_server_connection *sconn, } fnum = SVAL(inbuf, smb_vwv2); - status = smb1srv_open_lookup(sconn->conn, + status = smb1srv_open_lookup(xconn, fnum, 0, /* now */ &op); |