]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-19-always.c
io: io_never for events that should never happen.
[ccan] / ccan / io / test / run-19-always.c
index e6413fc916fec4434a8bc775a641fa0406a9c420..1805f79f6619b310834f191b36161e33aba741b0 100644 (file)
@@ -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 struct io_plan write_buf(struct io_conn *conn, struct data *d)