]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-13-all-idle.c
io: change io_idle() to io_wait()
[ccan] / ccan / io / test / run-13-all-idle.c
index 7ad6bfe4d0ae14d230f2cefbc970641f8423dfc8..31510007a90114c786c9b95a1ba1959b35b6a0e0 100644 (file)
@@ -17,7 +17,7 @@ int main(void)
                int fds[2];
 
                ok1(pipe(fds) == 0);
-               io_new_conn(fds[0], io_idle(), NULL, NULL);
+               io_new_conn(fds[0], io_wait(&status, io_close_cb, NULL));
                io_loop();
                exit(1);
        }