This reverts commit
721fbbfa7001b2788602106101f0407483894322.
See the discussion in
https://lists.samba.org/archive/samba-technical/2018-December/131731.html
for the reasoning behind this revert.
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
const struct tsocket_address *local_address;
const struct tsocket_address *remote_address;
const char *remote_hostname;
+ struct tevent_context *ev_ctx;
struct tevent_context *raw_ev_ctx;
struct tevent_context *root_ev_ctx;
struct tevent_context *guest_ev_ctx;
return NT_STATUS_NO_MEMORY;
}
+ sconn->ev_ctx = sconn->raw_ev_ctx;
sconn->root_ev_ctx = sconn->raw_ev_ctx;
sconn->guest_ev_ctx = sconn->raw_ev_ctx;
sconn->msg_ctx = msg;
client->sconn = sconn;
sconn->client = client;
+ sconn->ev_ctx = ev_ctx;
sconn->raw_ev_ctx = ev_ctx;
sconn->root_ev_ctx = ev_ctx;
sconn->guest_ev_ctx = ev_ctx;