torture: use tevent_ functions names instead of the legacy event_ ones
[bbaumbach/samba-autobuild/.git] / source4 / torture / smb2 / lock.c
index 348312657b43ac58a6f2e767047a0aee95a4c820..5bccf04f43805b6d462834587824d918cbdba685 100644 (file)
@@ -62,7 +62,7 @@
 
 #define WAIT_FOR_ASYNC_RESPONSE(req) \
        while (!req->cancel.can_cancel && req->state <= SMB2_REQUEST_RECV) { \
-               if (event_loop_once(req->transport->socket->event.ctx) != 0) { \
+               if (tevent_loop_once(req->transport->socket->event.ctx) != 0) { \
                        break; \
                } \
        }