]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-18-errno.c
ccan/io: implement timeouts.
[ccan] / ccan / io / test / run-18-errno.c
index f67c0eb02996cfac59b81640b8be3bd875a5537e..c19ab375e01d081b8c4bac86c89a54c0285316b9 100644 (file)
@@ -109,7 +109,7 @@ int main(void)
                exit(0);
        }
        freeaddrinfo(addrinfo);
-       ok1(io_loop() == &state + 1);
+       ok1(io_loop(NULL, NULL) == &state + 1);
        ok1(state == 4);
        io_close_listener(l);
        ok1(wait(&state));