diff options
| author | sgrb <[email protected]> | 2022-02-10 16:49:47 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:47 +0300 |
| commit | 6a705ee267e43301156c202a4b371d47ddd4dd4f (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/coroutine | |
| parent | 1485f03dbdc4314901c6ccea1fe17cc6943dea63 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/coroutine')
| -rw-r--r-- | library/cpp/coroutine/engine/poller.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/coroutine/engine/poller.cpp b/library/cpp/coroutine/engine/poller.cpp index c22bc8cd40b..61164fa56bf 100644 --- a/library/cpp/coroutine/engine/poller.cpp +++ b/library/cpp/coroutine/engine/poller.cpp @@ -282,8 +282,8 @@ namespace { if (ev & POLLERR) { status = EIO; - } else if (ev & POLLHUP && pfd.events & POLLOUT) { - // Only write operations may cause EPIPE + } else if (ev & POLLHUP && pfd.events & POLLOUT) { + // Only write operations may cause EPIPE status = EPIPE; } else if (ev & POLLNVAL) { status = EINVAL; |
