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

Pranav Kant pranavk at collabora.com
Thu Mar 31 17:18:18 UTC 2016


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

New commits:
commit d186e05a0d893b5afcc8c6246639c82502898be6
Author: Pranav Kant <pranavk at collabora.com>
Date:   Thu Mar 31 22:47:05 2016 +0530

    loolwsd: Use filename in admin console
    
    ... instead of long URIs.
    
    Change-Id: I9d13285ce81967a4ff9eb518086743540d7a2a90

diff --git a/loolwsd/LOOLKit.cpp b/loolwsd/LOOLKit.cpp
index 2bce3e8..b10a08f 100644
--- a/loolwsd/LOOLKit.cpp
+++ b/loolwsd/LOOLKit.cpp
@@ -667,7 +667,7 @@ private:
             std::ostringstream message;
             message << "document" << " "
                     << Process::id() << " "
-                    << _url << " "
+                    << uri.substr(uri.find_last_of("/") + 1) << " "
                     << "\r\n";
             IoUtil::writeFIFO(writerNotify, message.str());
 


More information about the Libreoffice-commits mailing list