Commit 52ffdb0a authored by Max Kellermann's avatar Max Kellermann

test/read_tags: use input_stream_wait_ready()

parent 681d6bbd
......@@ -196,10 +196,7 @@ int main(int argc, char **argv)
mutex.lock();
while (!is->ready) {
cond.wait(mutex);
input_stream_update(is);
}
input_stream_wait_ready(is);
if (!input_stream_check(is, error)) {
mutex.unlock();
......
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