X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-13-all-idle.c;h=31510007a90114c786c9b95a1ba1959b35b6a0e0;hp=0e7e1565d579fa56b76397dcf05107c12611f63e;hb=f7ab2c65d40839a327e50876dc2708ab7b11aa52;hpb=13b38a7282c6043d6abe310e5a16d6610ed7a1c1 diff --git a/ccan/io/test/run-13-all-idle.c b/ccan/io/test/run-13-all-idle.c index 0e7e1565..31510007 100644 --- a/ccan/io/test/run-13-all-idle.c +++ b/ccan/io/test/run-13-all-idle.c @@ -17,7 +17,7 @@ int main(void) int fds[2]; ok1(pipe(fds) == 0); - io_new_conn(fds[0], io_idle()); + io_new_conn(fds[0], io_wait(&status, io_close_cb, NULL)); io_loop(); exit(1); }