From a03e626728db8a9cbe1dbbfab6f22f5870cb40ae Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Fri, 11 Apr 2003 03:58:56 +0000 Subject: 2003-04-11 Havoc Pennington * bus/dispatch.c (check_existent_service_activation): accept a no memory error in a place we didn't before * bus/test.c (bus_test_run_everything): remove hacky "do it twice in case the first one failed," since the test suite is less broken now. --- bus/test.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'bus/test.c') diff --git a/bus/test.c b/bus/test.c index c4d999f9..db3065b9 100644 --- a/bus/test.c +++ b/bus/test.c @@ -335,16 +335,9 @@ bus_test_run_bus_loop (BusContext *context, void bus_test_run_everything (BusContext *context) { - int i; - - i = 0; - while (i < 2) - { - while (_dbus_loop_iterate (bus_context_get_loop (context), FALSE) || - (client_loop == NULL || _dbus_loop_iterate (client_loop, FALSE))) - ; - ++i; - } + while (_dbus_loop_iterate (bus_context_get_loop (context), FALSE) || + (client_loop == NULL || _dbus_loop_iterate (client_loop, FALSE))) + ; } BusContext* -- cgit