]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-04-writepartial.c
io: change io_idle() to io_wait()
[ccan] / ccan / io / test / run-04-writepartial.c
index 8cfb2abeb16bb126c8db502ede3358fcf46d8ba2..5c1f5e015da50707999d77ee037b93853e8653bb 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)