ccan/io: remove IO_IDLE state.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Oct 2013 10:58:36 +0000 (21:28 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Oct 2013 10:58:36 +0000 (21:28 +1030)
commita5af4b170139a6e6a0dae7535fb00278ed4639c6
tree392c2bbc0093fd62b0e586d6f3477907d450d021
parentf6f11f6b06bde2c1d5ce0f744998f07c6bce4546
ccan/io: remove IO_IDLE state.

Use a NULL io pointer instead to indicate an idle connection.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/io/io.c
ccan/io/io.h