]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-05-write.c
io: remove io_debug support.
[ccan] / ccan / io / test / run-05-write.c
index 2e744cffd8fa5446c3ce18ded98f8ac6c65b1c02..3b0cc72432a30f840e9e0f58f28712dce897f12d 100644 (file)
@@ -6,9 +6,7 @@
 #include <sys/wait.h>
 #include <stdio.h>
 
-#ifndef PORT
 #define PORT "65005"
-#endif
 
 struct data {
        int state;
@@ -110,7 +108,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));