]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-12-bidir.c
ccan/io: implement timeouts.
[ccan] / ccan / io / test / run-12-bidir.c
index 0329b81f6755e63f338de1f1890bb803d72b422e..bddd7fbe9ed6a533d88998cb181e70a245279013 100644 (file)
@@ -119,7 +119,7 @@ int main(void)
                exit(0);
        }
        freeaddrinfo(addrinfo);
-       ok1(io_loop() == NULL);
+       ok1(io_loop(NULL, NULL) == NULL);
        ok1(d->state == 4);
        ok1(d->done == 2);
        ok1(memcmp(d->buf, "hellothere", sizeof(d->buf)) == 0);