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

Tor Lillqvist tml at collabora.com
Mon Apr 11 10:31:31 UTC 2016


 loolwsd/DocumentBroker.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit eb5fcdba93ab639a7bb8041ea2e51513b1531b80
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Apr 11 13:31:03 2016 +0300

    Consistenly put a colon after the "editlock" in the message sent to the client

diff --git a/loolwsd/DocumentBroker.cpp b/loolwsd/DocumentBroker.cpp
index 4a582fe..3bc698a 100644
--- a/loolwsd/DocumentBroker.cpp
+++ b/loolwsd/DocumentBroker.cpp
@@ -276,7 +276,7 @@ void DocumentBroker::removeWSSession(const std::string id)
     {
         haveEditLock = it->second->isEditLocked();
         it->second->setEditLock(false);
-        it->second->sendTextFrame("editlock 0");
+        it->second->sendTextFrame("editlock: 0");
         _wsSessions.erase(it);
     }
 
@@ -287,7 +287,7 @@ void DocumentBroker::removeWSSession(const std::string id)
         if (it != _wsSessions.end())
         {
             it->second->setEditLock(true);
-            it->second->sendTextFrame("editlock 1");
+            it->second->sendTextFrame("editlock: 1");
         }
     }
 }


More information about the Libreoffice-commits mailing list