aboutsummaryrefslogtreecommitdiffstats
path: root/util/network/socket.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
commit6560e4993b14d193f8c879e33a3de5e5eba6e21d (patch)
treecfd2e2baa05c3196f2caacbb63c32e1df40bc3de /util/network/socket.cpp
parent7489e4682331202b9c7d863c0898eb83d7b12c2b (diff)
downloadydb-6560e4993b14d193f8c879e33a3de5e5eba6e21d.tar.gz
Restoring authorship annotation for <bulatman@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/network/socket.cpp')
-rw-r--r--util/network/socket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/network/socket.cpp b/util/network/socket.cpp
index 4f6e804346..47ae44c51f 100644
--- a/util/network/socket.cpp
+++ b/util/network/socket.cpp
@@ -44,7 +44,7 @@
#include <util/generic/hash_set.h>
#include <stddef.h>
-#include <sys/uio.h>
+#include <sys/uio.h>
using namespace NAddr;
@@ -539,7 +539,7 @@ ESocketReadStatus HasSocketDataToRead(SOCKET s) {
#if defined(_win_)
static ssize_t DoSendMsg(SOCKET sock, const struct iovec* iov, int iovcnt) {
- return writev(sock, iov, iovcnt);
+ return writev(sock, iov, iovcnt);
}
#else
static ssize_t DoSendMsg(SOCKET sock, const struct iovec* iov, int iovcnt) {