[Libreoffice-commits] online.git: loolwsd/MasterProcessSession.cpp

Henry Castro hcastro at collabora.com
Wed May 11 04:28:22 UTC 2016


 loolwsd/MasterProcessSession.cpp |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 5ec04d51843d580788d36a632fcb3b8913ba88a5
Author: Henry Castro <hcastro at collabora.com>
Date:   Wed May 11 00:28:25 2016 -0400

    loolwsd: avoid sending double "status" message

diff --git a/loolwsd/MasterProcessSession.cpp b/loolwsd/MasterProcessSession.cpp
index 87be145..4b6a045 100644
--- a/loolwsd/MasterProcessSession.cpp
+++ b/loolwsd/MasterProcessSession.cpp
@@ -207,6 +207,7 @@ bool MasterProcessSession::_handleInput(const char *buffer, int length)
                 message += std::to_string(peer->isEditLocked());
                 Log::debug("Forwarding [" + message + "] in response to status.");
                 forwardToPeer(message.c_str(), message.size());
+                return true;
             }
             else if (tokens[0] == "commandvalues:")
             {


More information about the Libreoffice-commits mailing list