aboutsummaryrefslogtreecommitdiffstats
path: root/util/network
diff options
context:
space:
mode:
authoreeight <eeight@yandex-team.ru>2022-02-10 16:46:18 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:18 +0300
commit475c0a46f28166e83fd263badc7546377cddcabe (patch)
tree39c5a49b8aaad78fe390b6f1f2886bdbda40f3e7 /util/network
parenta6e0145a095c7bb3770d6e07aee301de5c73f96e (diff)
downloadydb-475c0a46f28166e83fd263badc7546377cddcabe.tar.gz
Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/network')
-rw-r--r--util/network/ip_ut.cpp2
-rw-r--r--util/network/nonblock.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/network/ip_ut.cpp b/util/network/ip_ut.cpp
index 6716c6a699..5641029a13 100644
--- a/util/network/ip_ut.cpp
+++ b/util/network/ip_ut.cpp
@@ -58,6 +58,6 @@ void TSysIpTest::TestIpToString() {
const char* ipStr[] = {"192.168.0.1", "87.255.18.167", "255.255.0.31", "188.225.124.255"};
for (size_t i = 0; i < Y_ARRAY_SIZE(ipStr); ++i) {
- UNIT_ASSERT(IpToString(*reinterpret_cast<TIpHost*>(&(ipArr[i]))) == ipStr[i]);
+ UNIT_ASSERT(IpToString(*reinterpret_cast<TIpHost*>(&(ipArr[i]))) == ipStr[i]);
}
}
diff --git a/util/network/nonblock.cpp b/util/network/nonblock.cpp
index e515c27cc5..ee2a9474ef 100644
--- a/util/network/nonblock.cpp
+++ b/util/network/nonblock.cpp
@@ -22,7 +22,7 @@ namespace {
{
#if defined(_unix_) && defined(SOCK_NONBLOCK)
{
- Accept4 = reinterpret_cast<TAccept4>(dlsym(RTLD_DEFAULT, "accept4"));
+ Accept4 = reinterpret_cast<TAccept4>(dlsym(RTLD_DEFAULT, "accept4"));
#if defined(_musl_)
//musl always statically linked