]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-16-duplex-test.c
ccan/io: implement timeouts.
[ccan] / ccan / io / test / run-16-duplex-test.c
index 9d939c58aa422dc09be1a4057fc0d0e9cb4ad0d9..ea588661f7f091f2532da8fc717fb50dcf54cced 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(memcmp(d->buf, "hellothere", sizeof(d->buf)) == 0);
        free(d);