From b3d3395e01a015b440a84878c4d540dbaa437a32 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 22 Nov 2011 09:36:30 +0100 Subject: s4:libcli/raw: add transport->ev as copy of transport->socket->event.ctx We'll remove transport->socket soon, but removing transport->ev will take a bit longer. metze --- source4/libcli/raw/rawrequest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/libcli/raw/rawrequest.c') diff --git a/source4/libcli/raw/rawrequest.c b/source4/libcli/raw/rawrequest.c index 3b0cf7cabb..ae68fb0cd3 100644 --- a/source4/libcli/raw/rawrequest.c +++ b/source4/libcli/raw/rawrequest.c @@ -358,7 +358,7 @@ bool smbcli_request_receive(struct smbcli_request *req) /* keep receiving packets until this one is replied to */ while (req->state <= SMBCLI_REQUEST_RECV) { - if (tevent_loop_once(req->transport->socket->event.ctx) != 0) { + if (tevent_loop_once(req->transport->ev) != 0) { return false; } } -- cgit