summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/notify.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-05-25 15:23:55 -0400
committerSimo Sorce <idra@samba.org>2011-08-13 09:54:15 -0400
commitb120c5f28876fd9efe032a6dbecebfaaff7dfd14 (patch)
treecca3a64d3d4a96d1e49450ebeff374659ed17d2b /source4/torture/smb2/notify.c
parent813bdf466d1e0262c7b4bdf98343451db08c60f6 (diff)
downloadsamba-b120c5f28876fd9efe032a6dbecebfaaff7dfd14.tar.gz
samba-b120c5f28876fd9efe032a6dbecebfaaff7dfd14.tar.bz2
samba-b120c5f28876fd9efe032a6dbecebfaaff7dfd14.zip
torture: use tevent_ functions names instead of the legacy event_ ones
Diffstat (limited to 'source4/torture/smb2/notify.c')
-rw-r--r--source4/torture/smb2/notify.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/torture/smb2/notify.c b/source4/torture/smb2/notify.c
index 80c560be00..0f0e866098 100644
--- a/source4/torture/smb2/notify.c
+++ b/source4/torture/smb2/notify.c
@@ -101,7 +101,7 @@ static bool test_valid_request(struct torture_context *torture,
req = smb2_notify_send(tree, &n);
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;
}
}
@@ -123,7 +123,7 @@ static bool test_valid_request(struct torture_context *torture,
req = smb2_notify_send(tree, &n);
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;
}
}
@@ -142,7 +142,7 @@ static bool test_valid_request(struct torture_context *torture,
req = smb2_notify_send(tree, &n);
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;
}
}
@@ -174,7 +174,7 @@ static bool test_valid_request(struct torture_context *torture,
req = smb2_notify_send(tree, &n);
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;
}
}
@@ -188,7 +188,7 @@ static bool test_valid_request(struct torture_context *torture,
n.in.buffer_size = max_buffer_size;
req = smb2_notify_send(tree, &n);
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;
}
}