From: Ralph Boehme Date: Fri, 28 Dec 2018 12:25:57 +0000 (+0100) Subject: s3:smbd: use passed in ev in smbd_smb2_query_directory_send() X-Git-Tag: talloc-2.1.15~150 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d8f495b01cb4d6797f9165b1e45dcaa31da7e44;p=thirdparty%2Fsamba.git s3:smbd: use passed in ev in smbd_smb2_query_directory_send() The ev argument is also a raw ev. Signed-off-by: Ralph Boehme Reviewed-by: Volker Lendecke Reviewed-by: Stefan Metzmacher --- diff --git a/source3/smbd/smb2_query_directory.c b/source3/smbd/smb2_query_directory.c index a80c9f59677..6020025b28b 100644 --- a/source3/smbd/smb2_query_directory.c +++ b/source3/smbd/smb2_query_directory.c @@ -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;