aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/coroutine/engine
diff options
context:
space:
mode:
authorsgrb <sgrb@yandex-team.ru>2022-02-10 16:49:47 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:47 +0300
commit6a705ee267e43301156c202a4b371d47ddd4dd4f (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/coroutine/engine
parent1485f03dbdc4314901c6ccea1fe17cc6943dea63 (diff)
downloadydb-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.cpp4
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;