]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-18-errno.c
io: remove io_debug support.
[ccan] / ccan / io / test / run-18-errno.c
index f67c0eb02996cfac59b81640b8be3bd875a5537e..75d84cca1f64a5520698597352769ca3e14f1e92 100644 (file)
@@ -6,9 +6,7 @@
 #include <sys/wait.h>
 #include <stdio.h>
 
-#ifndef PORT
 #define PORT "65018"
-#endif
 
 static void finish_100(struct io_conn *conn, int *state)
 {
@@ -109,7 +107,7 @@ int main(void)
                exit(0);
        }
        freeaddrinfo(addrinfo);
-       ok1(io_loop() == &state + 1);
+       ok1(io_loop(NULL, NULL) == &state + 1);
        ok1(state == 4);
        io_close_listener(l);
        ok1(wait(&state));