X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-05-write.c;h=3b0cc72432a30f840e9e0f58f28712dce897f12d;hb=96dcdfbf1a400f7cb43cf3f0761f52fd6de9ff65;hp=2e744cffd8fa5446c3ce18ded98f8ac6c65b1c02;hpb=cdffdf5d61f8330cfc3467e73a84876eb3928e9b;p=ccan diff --git a/ccan/io/test/run-05-write.c b/ccan/io/test/run-05-write.c index 2e744cff..3b0cc724 100644 --- a/ccan/io/test/run-05-write.c +++ b/ccan/io/test/run-05-write.c @@ -6,9 +6,7 @@ #include #include -#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));