diff options
Diffstat (limited to 'library/cpp/coroutine/engine/poller.cpp')
| -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; |
