ccan/io: use shutdown() before close.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 5 Aug 2014 11:07:44 +0000 (20:37 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 5 Aug 2014 11:07:44 +0000 (20:37 +0930)
commit31df8231a077488a9f4010a8863ca38993aa69c8
tree72357ffef5c90eb1aae39188a6f4b113c717335a
parent0fbc79090f9ff5bc1caf8c0f0f05525a05f2e82d
ccan/io: use shutdown() before close.

During a debugging session, I wondered why poll() wasn't exiting
when I killed a (local) peer.

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