diff options
| author | alexcrush <[email protected]> | 2022-02-10 16:50:33 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:33 +0300 |
| commit | 34f0683c2d7731f2f9f59966c12e602f405fa0d6 (patch) | |
| tree | 9af7dd74efcfa3d8aa7b40bd757ad8f2d89f6902 /library/cpp/messagebus/handler.cpp | |
| parent | a1d67d6a31f789aa011250c3edce5751c0cadad2 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 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 333bd529347..4f40db87765 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(); -} +} |
