io: don't leave errno as a random value when we hit EOF.
It's used inside io_finish; setting to 0 allows that to know we hit
EOF on a read.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Showing
ccan/io/test/run-45-eof.c
0 → 100644
Please register or sign in to comment