]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-01-start-finish.c
io: change io_idle() to io_wait()
[ccan] / ccan / io / test / run-01-start-finish.c
index d8a24a52fe42b35e1ddf3a740b3d31d151f8165c..3ee659471847d73addc4c4e57b26e3eb6d2086c5 100644 (file)
@@ -16,7 +16,7 @@ static void finish_ok(struct io_conn *conn, int *state)
        ok1(*state == 1);
        ok1(io_conn_fd(conn) == expected_fd);
        (*state)++;
-       io_break(state + 1, io_idle());
+       io_break(state + 1, io_never());
 }
 
 static void init_conn(int fd, int *state)