diff options
author | sgrb <sgrb@yandex-team.ru> | 2022-02-10 16:49:47 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:47 +0300 |
commit | 6a705ee267e43301156c202a4b371d47ddd4dd4f (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/coroutine/engine | |
parent | 1485f03dbdc4314901c6ccea1fe17cc6943dea63 (diff) | |
download | ydb-6a705ee267e43301156c202a4b371d47ddd4dd4f.tar.gz |
Restoring authorship annotation for <sgrb@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/coroutine/engine')
-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 c22bc8cd40..61164fa56b 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; |