git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4:torture/smb2: use tctx->ev as event context for polling
[ira/wip.git]
/
source4
/
torture
/
smb2
/
lock.c
diff --git
a/source4/torture/smb2/lock.c
b/source4/torture/smb2/lock.c
index aee82929c1fa2356bf92050466f6005e673bf1e3..3691830ce4758963a2ad0a899ee792fb1af69fc0 100644
(file)
--- a/
source4/torture/smb2/lock.c
+++ b/
source4/torture/smb2/lock.c
@@
-62,7
+62,7
@@
#define WAIT_FOR_ASYNC_RESPONSE(req) \
while (!req->cancel.can_cancel && req->state <= SMB2_REQUEST_RECV) { \
- if (tevent_loop_once(
req->transport->socket->event.ctx
) != 0) { \
+ if (tevent_loop_once(
torture->ev
) != 0) { \
break; \
} \
}