]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-03-readpartial.c
io: change io_idle() to io_wait()
[ccan] / ccan / io / test / run-03-readpartial.c
index 7ecccc7412cd2aa3f2b5342614a695168e5e46d9..860792b7784bb3762f8204a6d9955b155477fb8c 100644 (file)
@@ -20,7 +20,7 @@ static void finish_ok(struct io_conn *conn, struct data *d)
 {
        ok1(d->state == 1);
        d->state++;
-       io_break(d, io_idle());
+       io_break(d, io_never());
 }
 
 static void init_conn(int fd, struct data *d)