]> git.tdb.fi Git - libs/net.git/commitdiff
Check for EOF return before checking for errors
authorMikko Rasa <tdb@tdb.fi>
Sun, 11 Dec 2022 10:17:12 +0000 (12:17 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 11 Dec 2022 16:26:44 +0000 (18:26 +0200)
The check_sys_error function converts errors from non-blocking operations
which would block into a zero return, making them indistinguishable from
a zero return due to the other end closing the connection.


No differences found