]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-07-break.c
io: change io_idle() to io_wait()
[ccan] / ccan / io / test / run-07-break.c
index 6fcaea341b58f1123ab72a322d3260dd71f53ba2..19cc6a8e662b393f8f672e3a46d1340d37e2a634 100644 (file)
@@ -19,7 +19,7 @@ static struct io_plan read_done(struct io_conn *conn, struct data *d)
 {
        ok1(d->state == 1);
        d->state++;
 {
        ok1(d->state == 1);
        d->state++;
-       return io_close(conn, NULL);
+       return io_close();
 }
 
 static void finish_ok(struct io_conn *conn, struct data *d)
 }
 
 static void finish_ok(struct io_conn *conn, struct data *d)