X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-08-read-after-hangup.c;h=14af5ae6373a5afaac958b5b8376fab0c443f7fa;hb=94dd4c2bddd0dc080ad5b85465fa3f45f486967a;hp=7b6731ec9da2fa58fcffc242ca1214abe8d36e37;hpb=6109a0a6140acbbfe5e998f7d7ea1215f035cb90;p=ccan diff --git a/ccan/io/test/run-08-read-after-hangup.c b/ccan/io/test/run-08-read-after-hangup.c index 7b6731ec..14af5ae6 100644 --- a/ccan/io/test/run-08-read-after-hangup.c +++ b/ccan/io/test/run-08-read-after-hangup.c @@ -41,7 +41,7 @@ int main(void) conn = io_new_conn(NULL, fds[0], init_waiter, NULL); io_new_conn(conn, fds[1], init_writer, conn); - ok1(io_loop() == NULL); + ok1(io_loop(NULL, NULL) == NULL); ok1(memcmp(inbuf, "EASYTEST", sizeof(inbuf)) == 0); /* This exits depending on whether all tests passed */