X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-13-all-idle.c;h=7896b14f4e036913f2ae67feca4f3903e580b024;hp=f8ee97f805ca791ffdc5c9417176e8d8de2d5656;hb=8cb4a3ed3d44fa4f85e176aaeaaf1da1d6eab5b6;hpb=cdffdf5d61f8330cfc3467e73a84876eb3928e9b diff --git a/ccan/io/test/run-13-all-idle.c b/ccan/io/test/run-13-all-idle.c index f8ee97f8..7896b14f 100644 --- a/ccan/io/test/run-13-all-idle.c +++ b/ccan/io/test/run-13-all-idle.c @@ -9,7 +9,7 @@ static struct io_plan *setup_waiter(struct io_conn *conn, int *status) { - return io_wait(conn, status, IO_IN, io_close_cb, NULL); + return io_wait(conn, status, io_close_cb, NULL); } int main(void) @@ -23,7 +23,7 @@ int main(void) ok1(pipe(fds) == 0); io_new_conn(NULL, fds[0], setup_waiter, &status); - io_loop(); + io_loop(NULL, NULL); exit(1); }