X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-09-connect.c;h=e5f0d1f85c6b6f495e22c656efdeaad7f478d338;hb=f08b8139fc7370224c59bc3178b887810b98592b;hp=8f57f00d8e0f4a6474f63280b20f3b3b6946883d;hpb=cdffdf5d61f8330cfc3467e73a84876eb3928e9b;p=ccan diff --git a/ccan/io/test/run-09-connect.c b/ccan/io/test/run-09-connect.c index 8f57f00d..e5f0d1f8 100644 --- a/ccan/io/test/run-09-connect.c +++ b/ccan/io/test/run-09-connect.c @@ -6,9 +6,7 @@ #include #include -#ifndef PORT #define PORT "65009" -#endif static struct io_listener *l; static struct data *d2; @@ -99,7 +97,7 @@ int main(void) addrinfo->ai_protocol); ok1(io_new_conn(NULL, fd, setup_connect, addrinfo)); - ok1(io_loop() == NULL); + ok1(io_loop(NULL, NULL) == NULL); ok1(d->state == 2); ok1(d2->state == 2);