diff options
author | Simo Sorce <ssorce@redhat.com> | 2010-05-25 15:23:55 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2011-08-13 09:54:15 -0400 |
commit | b120c5f28876fd9efe032a6dbecebfaaff7dfd14 (patch) | |
tree | cca3a64d3d4a96d1e49450ebeff374659ed17d2b /source4/torture/nbt/wins.c | |
parent | 813bdf466d1e0262c7b4bdf98343451db08c60f6 (diff) | |
download | samba-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/nbt/wins.c')
-rw-r--r-- | source4/torture/nbt/wins.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/nbt/wins.c b/source4/torture/nbt/wins.c index 571249f562..bd023294cb 100644 --- a/source4/torture/nbt/wins.c +++ b/source4/torture/nbt/wins.c @@ -156,7 +156,7 @@ static bool nbt_test_wins_name(struct torture_context *tctx, const char *address */ req = nbt_name_register_send(nbtsock, &name_register); while (true) { - event_loop_once(nbtsock->event_ctx); + tevent_loop_once(nbtsock->event_ctx); if (req->state != NBT_REQUEST_WAIT) { break; } @@ -170,7 +170,7 @@ static bool nbt_test_wins_name(struct torture_context *tctx, const char *address req->state = NBT_REQUEST_SEND; DLIST_ADD_END(nbtsock->send_queue, req, struct nbt_name_request *); - EVENT_FD_WRITEABLE(nbtsock->fde); + TEVENT_FD_WRITEABLE(nbtsock->fde); break; } } |