X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-04-writepartial.c;h=5c1f5e015da50707999d77ee037b93853e8653bb;hb=cdf62dce7077a9f9a818edbb67d31d033cbb73c6;hp=8cfb2abeb16bb126c8db502ede3358fcf46d8ba2;hpb=3a7b8a8a8081ebbb6457527de376dec6264bc381;p=ccan diff --git a/ccan/io/test/run-04-writepartial.c b/ccan/io/test/run-04-writepartial.c index 8cfb2abe..5c1f5e01 100644 --- a/ccan/io/test/run-04-writepartial.c +++ b/ccan/io/test/run-04-writepartial.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)