s4:smb_server/smb2: avoid unused warnings in smb2srv_setinfo_send()
authorStefan Metzmacher <metze@samba.org>
Thu, 27 Feb 2014 08:08:17 +0000 (09:08 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 25 Nov 2014 06:25:45 +0000 (07:25 +0100)
op->req and req have the same value.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/smb_server/smb2/fileinfo.c

index 5e4f35e02b71d57169c84c7add4d1b5c16ff9b65..8c49336642610ce3e0ebe1847fa1c9ba676f1d4f 100644 (file)
@@ -250,7 +250,7 @@ static void smb2srv_setinfo_send(struct ntvfs_request *ntvfs)
 
        SMB2SRV_CHECK_ASYNC_STATUS(op, struct smb2srv_setinfo_op);
 
-       SMB2SRV_CHECK(smb2srv_setup_reply(req, 0x02, false, 0));
+       SMB2SRV_CHECK(smb2srv_setup_reply(op->req, 0x02, false, 0));
 
        smb2srv_send_reply(req);
 }