X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-18-errno.c;h=75d84cca1f64a5520698597352769ca3e14f1e92;hp=f67c0eb02996cfac59b81640b8be3bd875a5537e;hb=96dcdfbf1a400f7cb43cf3f0761f52fd6de9ff65;hpb=cdffdf5d61f8330cfc3467e73a84876eb3928e9b diff --git a/ccan/io/test/run-18-errno.c b/ccan/io/test/run-18-errno.c index f67c0eb0..75d84cca 100644 --- a/ccan/io/test/run-18-errno.c +++ b/ccan/io/test/run-18-errno.c @@ -6,9 +6,7 @@ #include #include -#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));