X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-06-idle.c;h=51cca961a077416c47287a5b78d697cd5513d554;hp=b32cbfe225c1e2bd5949509cd9d33558f1ce1712;hb=3a7b8a8a8081ebbb6457527de376dec6264bc381;hpb=0f16a4197c94bfa84dad56d0cb9a9c20438d0a45 diff --git a/ccan/io/test/run-06-idle.c b/ccan/io/test/run-06-idle.c index b32cbfe2..51cca961 100644 --- a/ccan/io/test/run-06-idle.c +++ b/ccan/io/test/run-06-idle.c @@ -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)