]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-08-hangup-on-idle.c
ccan/io: implement timeouts.
[ccan] / ccan / io / test / run-08-hangup-on-idle.c
index 52309b4bf018045830f6a5a7f02ef6abf0921151..eb3dab3d5fcf29188efb3d8e1351383de0b58110 100644 (file)
@@ -52,7 +52,7 @@ int main(void)
                exit(0);
        }
 
-       ok1(io_loop() == NULL);
+       ok1(io_loop(NULL, NULL) == NULL);
        ok1(memcmp(buf, "hello there world", 16) == 0);
 
        /* This exits depending on whether all tests passed */