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 | e5437feb4ac2d2dc044e1090b9312dde5ef197e0 (patch) | |
tree | f5a238c69dd20a1fa2092127a31b8aff25020f7d /util/network/socket_ut.cpp | |
parent | f4945d0a44b8770f0801de3056aa41639b0b7bd2 (diff) | |
download | ydb-e5437feb4ac2d2dc044e1090b9312dde5ef197e0.tar.gz |
Restoring authorship annotation for <iaz1607@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/network/socket_ut.cpp')
-rw-r--r-- | util/network/socket_ut.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/util/network/socket_ut.cpp b/util/network/socket_ut.cpp index 6b20e11f70..789f5f7e73 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() { |