From e5b00e3637b82bc72382e1a5cd75a521c7598743 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 7 Feb 2007 02:57:44 +0000 Subject: r21211: fixed 3 places that assumed that torture_fail() didn't call return. Having a lowercase macro that returns from a function is probably a bad idea - it looks too much like a C function but doesn't behave like one. (This used to be commit e680656419f00fd8b4ddb996fd247bada0f0a51d) --- source4/torture/local/event.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4/torture/local/event.c') diff --git a/source4/torture/local/event.c b/source4/torture/local/event.c index 383e959183..740e2addfe 100644 --- a/source4/torture/local/event.c +++ b/source4/torture/local/event.c @@ -99,9 +99,8 @@ static bool test_event_context(struct torture_context *test, t = timeval_current(); while (!finished) { if (event_loop_once(ev_ctx) == -1) { - torture_fail(test, "Failed event loop\n"); talloc_free(ev_ctx); - return False; + torture_fail(test, "Failed event loop\n"); } } -- cgit