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

New commits:
commit afa3e7c4ed6d1d23f182d18882d2b20fd7f8eabe
Author: Ashod Nakashian <[email protected]>
Date:   Thu Apr 28 23:32:33 2016 -0400

    loolwsd: log error on failure, not success
    
    Change-Id: Iac417c3779f3879697d056b5e402e91902bfd168
    Reviewed-on: https://gerrit.libreoffice.org/24483
    Reviewed-by: Ashod Nakashian <[email protected]>
    Tested-by: Ashod Nakashian <[email protected]>

diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp
index 395770f..5de9afc 100644
--- a/loolwsd/LOOLWSD.cpp
+++ b/loolwsd/LOOLWSD.cpp
@@ -607,7 +607,7 @@ private:
                 // Use auto-save to save only when there are modifications 
since last save.
                 // We also need to wait until the save notification reaches us
                 // and Storage persists the document.
-                if (docBroker->autoSave(true, COMMAND_TIMEOUT_MS))
+                if (!docBroker->autoSave(true, COMMAND_TIMEOUT_MS))
                 {
                     Log::error("Auto-save before closing failed.");
                 }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to