]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-19-always.c
Makefile: fix fastcheck.
[ccan] / ccan / io / test / run-19-always.c
index 2477196971e948a418c8b154678815b0fe9ad466..af190a4d025efeaa085ff9fd0c4711352a14f0f8 100644 (file)
@@ -6,9 +6,7 @@
 #include <sys/wait.h>
 #include <stdio.h>
 
-#ifndef PORT
 #define PORT "65019"
-#endif
 
 struct data {
        int state;
@@ -117,7 +115,7 @@ int main(void)
                free(d);
                exit(0);
        }
-       ok1(io_loop() == d);
+       ok1(io_loop(NULL, NULL) == d);
        ok1(d->state == 2);
 
        ok1(wait(&status));