]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-06-idle.c
io: io_never for events that should never happen.
[ccan] / ccan / io / test / run-06-idle.c
index 455b8608f1cae1723763154a5bb918d1b5a46a11..7ae16e9e96a3f8203c05d5d2778729c3573af290 100644 (file)
@@ -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)