mirror of
https://repo.or.cz/socat.git
synced 2025-07-17 08:33:24 +00:00
New option sitout-eio
This commit is contained in:
parent
c2196d6f15
commit
d10dd8a03e
9 changed files with 59 additions and 14 deletions
6
sycls.c
6
sycls.c
|
@ -547,7 +547,11 @@ ssize_t Read(int fd, void *buf, size_t count) {
|
|||
_errno = errno;
|
||||
if (!diag_in_handler) diag_flush();
|
||||
#if WITH_SYCLS
|
||||
Debug1("read -> "F_Zd, result);
|
||||
if (result < 0) {
|
||||
Debug2("read -> "F_Zd" (errno=%d)", result, _errno);
|
||||
} else {
|
||||
Debug1("read -> "F_Zd, result);
|
||||
}
|
||||
#endif /* WITH_SYCLS */
|
||||
errno = _errno;
|
||||
return result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue