X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-13-all-idle.c;fp=ccan%2Fio%2Ftest%2Frun-13-all-idle.c;h=31510007a90114c786c9b95a1ba1959b35b6a0e0;hb=f7ab2c65d40839a327e50876dc2708ab7b11aa52;hp=0e7e1565d579fa56b76397dcf05107c12611f63e;hpb=cdf62dce7077a9f9a818edbb67d31d033cbb73c6;p=ccan 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); }