]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-14-duplex-both-read.c
ccan/io: implement timeouts.
[ccan] / ccan / io / test / run-14-duplex-both-read.c
index b52553aaf5be7235015d51c38b51e07a54241d54..8cf22aa16cfc6a5febe0fef0e4c2342dcb190340 100644 (file)
@@ -125,7 +125,7 @@ int main(void)
                exit(0);
        }
        freeaddrinfo(addrinfo);
-       ok1(io_loop() == NULL);
+       ok1(io_loop(NULL, NULL) == NULL);
        ok1(d->state == 5);
        ok1(memcmp(d->buf, "hellothere", sizeof(d->buf)) == 0);
        free(d);