aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/acceptor.cpp
diff options
context:
space:
mode:
authorrdna <rdna@yandex-team.ru>2022-02-10 16:48:05 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:05 +0300
commit7804d69d166cc162c0be19dafd698a6ad7e42b25 (patch)
tree1a5e99bcef6e3f18d115f0a34d227d14178b6ce8 /library/cpp/messagebus/acceptor.cpp
parent10ade5dcb952a8fae61f734485641a8409e1c545 (diff)
downloadydb-7804d69d166cc162c0be19dafd698a6ad7e42b25.tar.gz
Restoring authorship annotation for <rdna@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/messagebus/acceptor.cpp')
-rw-r--r--library/cpp/messagebus/acceptor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/messagebus/acceptor.cpp b/library/cpp/messagebus/acceptor.cpp
index 64a38619c22..b8284aa5800 100644
--- a/library/cpp/messagebus/acceptor.cpp
+++ b/library/cpp/messagebus/acceptor.cpp
@@ -77,9 +77,9 @@ void TAcceptor::Act(TDefaultTag) {
SetSockOptTcpCork(s, Session->Config.TcpCork);
SetCloseOnExec(s, true);
SetNonBlock(s, true);
- if (Session->Config.SocketToS >= 0) {
- SetSocketToS(s, addr.Get(), Session->Config.SocketToS);
- }
+ if (Session->Config.SocketToS >= 0) {
+ SetSocketToS(s, addr.Get(), Session->Config.SocketToS);
+ }
} catch (...) {
// It means that connection was reset just now
// TODO: do something better