summaryrefslogtreecommitdiff
path: root/source4/torture/local
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-01-10 11:50:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:37:26 -0500
commit1c211a2e43db46c649a963ec883481cc4321870a (patch)
tree8b8a62b0670b3b640dde83b4c7caea5d763f9132 /source4/torture/local
parentc6ccfeb9cb78a95048ce0d91317b5948ae4ca46e (diff)
downloadsamba-1c211a2e43db46c649a963ec883481cc4321870a.tar.gz
samba-1c211a2e43db46c649a963ec883481cc4321870a.tar.bz2
samba-1c211a2e43db46c649a963ec883481cc4321870a.zip
r20650: revert a bunch of code I didn't mean to commit yet
(This used to be commit b3e2d4908781781a487eaeb683d22eb967e5597d)
Diffstat (limited to 'source4/torture/local')
-rw-r--r--source4/torture/local/event.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/torture/local/event.c b/source4/torture/local/event.c
index ec26310e10..5dab65b693 100644
--- a/source4/torture/local/event.c
+++ b/source4/torture/local/event.c
@@ -107,9 +107,7 @@ static bool test_event_context(struct torture_context *torture_ctx,
event_add_timed(ev_ctx, ev_ctx, timeval_current_ofs(0,500),
timed_handler, fde);
- while (fde) {
- event_loop_once(ev_ctx);
- }
+ event_loop_wait(ev_ctx);
close(read_fd);
close(write_fd);