]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-17-homemade-io.c
ccan/io: implement timeouts.
[ccan] / ccan / io / test / run-17-homemade-io.c
index a868b2132783401941e54bdf3734b9e3c923bd60..1087e2509871347ad0c809abad92d40b6e7b4c11 100644 (file)
@@ -166,7 +166,7 @@ int main(void)
                exit(0);
        }
        freeaddrinfo(addrinfo);
-       ok1(io_loop() == pkt);
+       ok1(io_loop(NULL, NULL) == pkt);
        ok1(pkt->state == 4);
        ok1(pkt->len == 8);
        ok1(memcmp(pkt->contents, "hithere!", 8) == 0);