diff options
author | iaz1607 <iaz1607@yandex-team.ru> | 2022-02-10 16:45:37 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:37 +0300 |
commit | 94e51c602b555459333b3c6ae92476c424c930bc (patch) | |
tree | b2cc84ee7850122e7ccf51d0ea21e4fa7e7a5685 /util/network | |
parent | e5437feb4ac2d2dc044e1090b9312dde5ef197e0 (diff) | |
download | ydb-94e51c602b555459333b3c6ae92476c424c930bc.tar.gz |
Restoring authorship annotation for <iaz1607@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/network')
-rw-r--r-- | util/network/endpoint.cpp | 2 | ||||
-rw-r--r-- | util/network/socket_ut.cpp | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/util/network/endpoint.cpp b/util/network/endpoint.cpp index c2e2720c46..9acdd06940 100644 --- a/util/network/endpoint.cpp +++ b/util/network/endpoint.cpp @@ -1,5 +1,5 @@ #include "endpoint.h" -#include "sock.h" +#include "sock.h" TEndpoint::TEndpoint(const TEndpoint::TAddrRef& addr) : Addr_(addr) diff --git a/util/network/socket_ut.cpp b/util/network/socket_ut.cpp index 789f5f7e73..6b20e11f70 100644 --- a/util/network/socket_ut.cpp +++ b/util/network/socket_ut.cpp @@ -104,16 +104,16 @@ void TSockTest::TestNetworkResolutionErrorMessage() { struct TErrnoGuard { TErrnoGuard() - : PrevValue_(errno) + : PrevValue_(errno) { } ~TErrnoGuard() { - errno = PrevValue_; + errno = PrevValue_; } private: - int PrevValue_; + int PrevValue_; } g; UNIT_ASSERT_VALUES_EQUAL(expected(0) + "(0): ", str(0)); @@ -131,17 +131,17 @@ void TSockTest::TestNetworkResolutionErrorMessage() { class TTempEnableSigPipe { public: TTempEnableSigPipe() { - OriginalSigHandler_ = signal(SIGPIPE, SIG_DFL); - Y_VERIFY(OriginalSigHandler_ != SIG_ERR); + OriginalSigHandler_ = signal(SIGPIPE, SIG_DFL); + Y_VERIFY(OriginalSigHandler_ != SIG_ERR); } ~TTempEnableSigPipe() { - auto ret = signal(SIGPIPE, OriginalSigHandler_); + auto ret = signal(SIGPIPE, OriginalSigHandler_); Y_VERIFY(ret != SIG_ERR); } private: - void (*OriginalSigHandler_)(int); + void (*OriginalSigHandler_)(int); }; void TSockTest::TestBrokenPipe() { |