X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-03-readpartial.c;h=860792b7784bb3762f8204a6d9955b155477fb8c;hb=cdf62dce7077a9f9a818edbb67d31d033cbb73c6;hp=7ecccc7412cd2aa3f2b5342614a695168e5e46d9;hpb=13b38a7282c6043d6abe310e5a16d6610ed7a1c1;p=ccan diff --git a/ccan/io/test/run-03-readpartial.c b/ccan/io/test/run-03-readpartial.c index 7ecccc74..860792b7 100644 --- a/ccan/io/test/run-03-readpartial.c +++ b/ccan/io/test/run-03-readpartial.c @@ -20,7 +20,7 @@ static void finish_ok(struct io_conn *conn, struct data *d) { ok1(d->state == 1); d->state++; - io_break(d, io_idle()); + io_break(d, io_never()); } static void init_conn(int fd, struct data *d)