Fix sending of large nttrans responses.
[metze/samba/wb-ndr.git] / source / smb_server / smb / nttrans.c
index fe65b7a6675b860cee106281ffc348c3c3ae346b..dd2ec15e39c426d9640eedb4eb0a8a1d4323b97c 100644 (file)
@@ -527,7 +527,7 @@ static void reply_nttrans_send(struct ntvfs_request *ntvfs)
                        this_req = req;
                }
 
-               req_grow_data(req, this_param + this_data + (align1 + align2));
+               req_grow_data(this_req, this_param + this_data + (align1 + align2));
 
                SSVAL(this_req->out.vwv, 0, 0); /* reserved */
                SCVAL(this_req->out.vwv, 2, 0); /* reserved */