[Libreoffice-commits] online.git: wsd/ClientSession.cpp
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Thu Jun 14 14:53:07 UTC 2018
wsd/ClientSession.cpp | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
New commits:
commit d3d4812583a1feb9cb2fe4d1aafcd9c20f362cae
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date: Wed Feb 28 09:20:55 2018 -0500
wsd: localize variables
Change-Id: I411e435fa2360423b4c48d087eb501b942cc637d
Reviewed-on: https://gerrit.libreoffice.org/52419
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/wsd/ClientSession.cpp b/wsd/ClientSession.cpp
index 00833bd05..8203b2a34 100644
--- a/wsd/ClientSession.cpp
+++ b/wsd/ClientSession.cpp
@@ -834,16 +834,13 @@ bool ClientSession::handleKitToClientMessage(const char* buffer, const int lengt
bool ClientSession::forwardToClient(const std::shared_ptr<Message>& payload)
{
- const auto& message = payload->abbr();
-
if (isCloseFrame())
{
- LOG_TRC(getName() << ": peer began the closing handshake. Dropping forward message [" << message << "].");
+ LOG_TRC(getName() << ": peer began the closing handshake. Dropping forward message [" << payload->abbr() << "].");
return true;
}
enqueueSendMessage(payload);
-
return true;
}
More information about the Libreoffice-commits
mailing list