Commit 389e7ab7 authored by Ole André Vadla Ravnås's avatar Ole André Vadla Ravnås Committed by Olivier Crête

test-io-stream-common: Remove dead code

Due to off-by-one errors. Since the code added above now handles what
this code tried to handle, we can go ahead and remove it.
parent a13ac437
...@@ -581,12 +581,6 @@ check_for_termination (TestIOStreamThreadData *data, gsize *recv_count, ...@@ -581,12 +581,6 @@ check_for_termination (TestIOStreamThreadData *data, gsize *recv_count,
data->done = TRUE; data->done = TRUE;
if (data->other->done) if (data->other->done)
g_main_loop_quit (data->error_loop); g_main_loop_quit (data->error_loop);
/* If both sides have finished, quit the test main loop. */
if (*recv_count > expected_recv_count &&
*other_recv_count > expected_recv_count) {
g_main_loop_quit (data->error_loop);
}
} }
void void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment