aboutsummaryrefslogtreecommitdiffstats
path: root/util/network
diff options
context:
space:
mode:
authorheretic <heretic@yandex-team.ru>2022-02-10 16:45:46 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:46 +0300
commit81eddc8c0b55990194e112b02d127b87d54164a9 (patch)
tree9142afc54d335ea52910662635b898e79e192e49 /util/network
parent397cbe258b9e064f49c4ca575279f02f39fef76e (diff)
downloadydb-81eddc8c0b55990194e112b02d127b87d54164a9.tar.gz
Restoring authorship annotation for <heretic@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/network')
-rw-r--r--util/network/socket.cpp2
-rw-r--r--util/network/socket.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/network/socket.cpp b/util/network/socket.cpp
index e8995113e6..4f6e804346 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 3ea833023e..40c8648b40 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);