aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/coroutine/engine/network.cpp
diff options
context:
space:
mode:
authorbulatman <bulatman@yandex-team.ru>2022-02-10 16:45:50 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:50 +0300
commit2f6ca198245aeffd5e2d82b65927c2465b68b4f5 (patch)
tree9142afc54d335ea52910662635b898e79e192e49 /library/cpp/coroutine/engine/network.cpp
parent6560e4993b14d193f8c879e33a3de5e5eba6e21d (diff)
downloadydb-2f6ca198245aeffd5e2d82b65927c2465b68b4f5.tar.gz
Restoring authorship annotation for <bulatman@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/coroutine/engine/network.cpp')
-rw-r--r--library/cpp/coroutine/engine/network.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/coroutine/engine/network.cpp b/library/cpp/coroutine/engine/network.cpp
index b5ece3d580..85b647d210 100644
--- a/library/cpp/coroutine/engine/network.cpp
+++ b/library/cpp/coroutine/engine/network.cpp
@@ -4,7 +4,7 @@
#include <util/generic/scope.h>
#include <util/generic/xrange.h>
-#include <sys/uio.h>
+#include <sys/uio.h>
#if defined(_bionic_)
# define IOV_MAX 1024
@@ -18,11 +18,11 @@ namespace NCoro {
}
ssize_t DoReadVector(SOCKET fd, TContIOVector* vec) noexcept {
- return readv(fd, (const iovec*) vec->Parts(), Min(IOV_MAX, (int) vec->Count()));
+ return readv(fd, (const iovec*) vec->Parts(), Min(IOV_MAX, (int) vec->Count()));
}
ssize_t DoWriteVector(SOCKET fd, TContIOVector* vec) noexcept {
- return writev(fd, (const iovec*) vec->Parts(), Min(IOV_MAX, (int) vec->Count()));
+ return writev(fd, (const iovec*) vec->Parts(), Min(IOV_MAX, (int) vec->Count()));
}
}