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

New commits:
commit 5ec04d51843d580788d36a632fcb3b8913ba88a5
Author: Henry Castro <hcas...@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:")
             {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to