diff options
-rw-r--r-- | tests/test-new-trickle.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test-new-trickle.c b/tests/test-new-trickle.c index 0be38b9..97e9666 100644 --- a/tests/test-new-trickle.c +++ b/tests/test-new-trickle.c @@ -681,8 +681,7 @@ static void new_candidate_test(NiceAgent *lagent, NiceAgent *ragent) g_mutex_unlock (stun_mutex_ptr); // Wait for lagent to finish gathering candidates - while (!lagent_candidate_gathering_done || - !lagent_candidate_gathering_done) + while (!lagent_candidate_gathering_done) g_main_context_iteration (NULL, TRUE); g_cancellable_reset (global_cancellable); g_assert (nice_agent_peer_candidate_gathering_done (ragent, global_rs_id)); |