X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-06-idle.c;fp=ccan%2Fio%2Ftest%2Frun-06-idle.c;h=7ae16e9e96a3f8203c05d5d2778729c3573af290;hb=cdf62dce7077a9f9a818edbb67d31d033cbb73c6;hp=455b8608f1cae1723763154a5bb918d1b5a46a11;hpb=2a8b4826ddf8face89bd37a5fc0982474f96e2e3;p=ccan diff --git a/ccan/io/test/run-06-idle.c b/ccan/io/test/run-06-idle.c index 455b8608..7ae16e9e 100644 --- a/ccan/io/test/run-06-idle.c +++ b/ccan/io/test/run-06-idle.c @@ -39,7 +39,7 @@ static void finish_idle(struct io_conn *conn, struct data *d) { ok1(d->state == 3); d->state++; - io_break(d, io_idle()); + io_break(d, io_never()); } static struct io_plan never(struct io_conn *conn, void *arg)