diff options
author | heretic <heretic@yandex-team.ru> | 2022-02-10 16:45:43 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:43 +0300 |
commit | 397cbe258b9e064f49c4ca575279f02f39fef76e (patch) | |
tree | a0b0eb3cca6a14e4e8ea715393637672fa651284 /util/network | |
parent | 43f5a35593ebc9f6bcea619bb170394ea7ae468e (diff) | |
download | ydb-397cbe258b9e064f49c4ca575279f02f39fef76e.tar.gz |
Restoring authorship annotation for <heretic@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/network')
-rw-r--r-- | util/network/socket.cpp | 2 | ||||
-rw-r--r-- | util/network/socket.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/util/network/socket.cpp b/util/network/socket.cpp index 4f6e804346..e8995113e6 100644 --- a/util/network/socket.cpp +++ b/util/network/socket.cpp @@ -1256,7 +1256,7 @@ void ShutDown(SOCKET s, int mode) { } } -extern "C" bool IsReusePortAvailable() { +extern "C" bool IsReusePortAvailable() { // SO_REUSEPORT is always defined for linux builds, see SetReusePort() implementation above #if defined(SO_REUSEPORT) diff --git a/util/network/socket.h b/util/network/socket.h index 40c8648b40..3ea833023e 100644 --- a/util/network/socket.h +++ b/util/network/socket.h @@ -139,7 +139,7 @@ bool HasLocalAddress(SOCKET socket); /** * Runtime check if current kernel supports SO_REUSEPORT option. **/ -extern "C" bool IsReusePortAvailable(); +extern "C" bool IsReusePortAvailable(); bool IsNonBlock(SOCKET fd); void SetNonBlock(SOCKET fd, bool nonBlock = true); |