]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-06-idle.c
ccan/io: io_close_cb()
[ccan] / ccan / io / test / run-06-idle.c
index b32cbfe225c1e2bd5949509cd9d33558f1ce1712..51cca961a077416c47287a5b78d697cd5513d554 100644 (file)
@@ -24,7 +24,7 @@ static struct io_plan read_done(struct io_conn *conn, struct data *d)
 {
        ok1(d->state == 2 || d->state == 3);
        d->state++;
-       return io_close(conn, NULL);
+       return io_close();
 }
 
 static void finish_waker(struct io_conn *conn, struct data *d)