diff options
author | rdna <rdna@yandex-team.ru> | 2022-02-10 16:48:05 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:05 +0300 |
commit | 37a2795395ba606e239b750ff2afb17905274ec4 (patch) | |
tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/messagebus/acceptor.cpp | |
parent | 7804d69d166cc162c0be19dafd698a6ad7e42b25 (diff) | |
download | ydb-37a2795395ba606e239b750ff2afb17905274ec4.tar.gz |
Restoring authorship annotation for <rdna@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/messagebus/acceptor.cpp')
-rw-r--r-- | library/cpp/messagebus/acceptor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/messagebus/acceptor.cpp b/library/cpp/messagebus/acceptor.cpp index b8284aa5800..64a38619c22 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 |