s3:smbd: use passed in ev in smbd_smb2_query_directory_send()
authorRalph Boehme <slow@samba.org>
Fri, 28 Dec 2018 12:25:57 +0000 (13:25 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 11 Jan 2019 22:11:18 +0000 (23:11 +0100)
The ev argument is also a raw ev.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/smb2_query_directory.c

index a80c9f596770979b086e949ed68a29acd2ef36f1..6020025b28b70a92e99e418c21c61d45fc1512e2 100644 (file)
@@ -275,7 +275,7 @@ static struct tevent_req *smbd_smb2_query_directory_send(TALLOC_CTX *mem_ctx,
        if (req == NULL) {
                return NULL;
        }
-       state->ev = fsp->conn->sconn->raw_ev_ctx;
+       state->ev = ev;
        state->fsp = fsp;
        state->smb2req = smb2req;
        state->in_output_buffer_length = in_output_buffer_length;