diff options
author | alexcrush <alexcrush@yandex-team.ru> | 2022-02-10 16:50:33 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:33 +0300 |
commit | 923c477d52607f8f7ba049046234075fc393db76 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/messagebus/handler.cpp | |
parent | 34f0683c2d7731f2f9f59966c12e602f405fa0d6 (diff) | |
download | ydb-923c477d52607f8f7ba049046234075fc393db76.tar.gz |
Restoring authorship annotation for <alexcrush@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/messagebus/handler.cpp')
-rw-r--r-- | library/cpp/messagebus/handler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/messagebus/handler.cpp b/library/cpp/messagebus/handler.cpp index 4f40db8776..333bd52934 100644 --- a/library/cpp/messagebus/handler.cpp +++ b/library/cpp/messagebus/handler.cpp @@ -30,7 +30,7 @@ void TOnMessageContext::ForgetRequest() { TNetAddr TOnMessageContext::GetPeerAddrNetAddr() const { return Ident.GetNetAddr(); } - -bool TOnMessageContext::IsConnectionAlive() const { + +bool TOnMessageContext::IsConnectionAlive() const { return !!Ident.Connection && Ident.Connection->IsAlive(); -} +} |