X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fio%2Ftest%2Frun-17-homemade-io.c;h=c5d82889021ce6430a47a2cdd81f8a5ae23d2135;hp=65fe7415aba720aaaa83dbc9191459324ea9d28e;hb=f7ab2c65d40839a327e50876dc2708ab7b11aa52;hpb=5a7e32bdb9b9c2273ef4cce8b35e23f177c504df diff --git a/ccan/io/test/run-17-homemade-io.c b/ccan/io/test/run-17-homemade-io.c index 65fe7415..c5d82889 100644 --- a/ccan/io/test/run-17-homemade-io.c +++ b/ccan/io/test/run-17-homemade-io.c @@ -20,7 +20,7 @@ static void finish_ok(struct io_conn *conn, struct packet *pkt) { ok1(pkt->state == 3); pkt->state++; - io_break(pkt, io_idle()); + io_break(pkt, io_never()); } static int do_read_packet(int fd, struct io_plan *plan)