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

Tor Lillqvist tml at collabora.com
Mon Apr 4 07:39:59 UTC 2016


 loolwsd/LOOLBroker.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 194b662b54716428966cd283e1ef97a0f345f56e
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Apr 4 10:36:31 2016 +0300

    Don't truncate response in logging
    
    There is no \r there any more, just a \n.

diff --git a/loolwsd/LOOLBroker.cpp b/loolwsd/LOOLBroker.cpp
index 7eaf07c..c578574 100644
--- a/loolwsd/LOOLBroker.cpp
+++ b/loolwsd/LOOLBroker.cpp
@@ -1104,7 +1104,7 @@ static void lokit_main(const std::string& childRoot,
                     }
 
                     //FIXME: Do we really need to respond here?
-                    Log::trace("KitToDocBroker: " + responseFrame.substr(0, responseFrame.length()-2));
+                    Log::trace("KitToDocBroker: " + responseFrame.substr(0, responseFrame.length()-1));
                     ws->sendFrame(responseFrame.data(), responseFrame.size());
 
                     return true;


More information about the Libreoffice-commits mailing list