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

Ashod Nakashian ashod.nakashian at collabora.co.uk
Wed Jul 27 16:01:13 UTC 2016


 loolwsd/LOOLKit.cpp |    1 +
 loolwsd/LOOLWSD.cpp |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 1300b412fbeb00e465b689ee57a5a321cc7c4740
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Wed Jul 27 10:57:08 2016 -0400

    loolwsd: comments
    
    Change-Id: I57ba646df6ceb24d4f101a5539c979e77130cfc9
    Reviewed-on: https://gerrit.libreoffice.org/27589
    Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.com>

diff --git a/loolwsd/LOOLKit.cpp b/loolwsd/LOOLKit.cpp
index bde9f50..e3b5ec1 100644
--- a/loolwsd/LOOLKit.cpp
+++ b/loolwsd/LOOLKit.cpp
@@ -743,6 +743,7 @@ private:
             return;
         }
 
+        // Broadcast to all clients.
         for (auto& it: self->_connections)
         {
             if (it.second->isRunning())
diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp
index f7b7bce..daa8946 100644
--- a/loolwsd/LOOLWSD.cpp
+++ b/loolwsd/LOOLWSD.cpp
@@ -683,13 +683,13 @@ private:
 
             // Wait until the client has connected with a prison socket.
             waitBridgeCompleted(session);
-            // Now the bridge beetween the client and kit process is connected
-            // Let messages flow
 
+            // Now the bridge beetween the client and kit process is connected
             status = "statusindicator: ready";
             Log::trace("Sending to Client [" + status + "].");
             ws->sendFrame(status.data(), (int) status.size());
 
+            // Let messages flow
             QueueHandler handler(queue, session, "wsd_queue_" + session->getId());
             Thread queueHandlerThread;
             queueHandlerThread.start(handler);


More information about the Libreoffice-commits mailing list