diff options
author | dmikhalev <[email protected]> | 2022-02-10 16:49:29 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:29 +0300 |
commit | 3b5ee31ed70f690af39dfdec632060610b71b89e (patch) | |
tree | f137aebad00b8064ec63fcd03ebc9fef5121eb9f /util/network/socket.cpp | |
parent | 3a0b7cd78a1a8366b3944d8d1e11ef9bb52549bf (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/network/socket.cpp')
-rw-r--r-- | util/network/socket.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/network/socket.cpp b/util/network/socket.cpp index 4f6e8043462..e568eacbbcb 100644 --- a/util/network/socket.cpp +++ b/util/network/socket.cpp @@ -707,10 +707,10 @@ static inline SOCKET DoConnect(const struct addrinfo* res, const TInstant& deadL } static inline ssize_t DoSendV(SOCKET fd, const struct iovec* iov, size_t count) { - ssize_t ret = -1; - do { + ssize_t ret = -1; + do { ret = DoSendMsg(fd, iov, (int)count); - } while (ret == -1 && errno == EINTR); + } while (ret == -1 && errno == EINTR); if (ret < 0) { return -LastSystemError(); |