ccan/io: handle errors on poll()
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Oct 2013 11:02:58 +0000 (21:32 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Oct 2013 11:02:58 +0000 (21:32 +1030)
commit306b6b0e89957bc1f2faa0a9b30a8398d1f40dfc
treefc60167ac9d45612815d8a58e3b5d44f44896c13
parent3a7b8a8a8081ebbb6457527de376dec6264bc381
ccan/io: handle errors on poll()

Without this, closing an fd results in a spin...

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