Let send_trans_reply work on only the inbuf
[abartlet/samba.git/.git] / source3 / smbd / lanman.c
index 03a48f5e6187b1c0e4a17491463be28a489320b1..fe1d766b9d38cc47607abdcd3fbd8ceffc338549 100644 (file)
@@ -4632,7 +4632,7 @@ void api_reply(connection_struct *conn, uint16 vuid,
 
        /* If api_Unsupported returns false we can't return anything. */
        if (reply) {
-               send_trans_reply(conn, req, rparam, rparam_len,
+               send_trans_reply(conn, req->inbuf, rparam, rparam_len,
                                 rdata, rdata_len, False);
        }