]> git.ozlabs.org Git - ccan/commitdiff
io: fix corner case in EPIPE handling.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Oct 2017 06:33:09 +0000 (17:03 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Oct 2017 06:33:09 +0000 (17:03 +1030)
If io_read is always called, we don't know that it will actually read,
so it might not notice error.  In that case, safest to fail immediately.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found