[Libreoffice-commits] online.git: wsd/FileServer.cpp

Pranav Kant pranavk at collabora.co.uk
Sat May 20 07:03:48 UTC 2017


 wsd/FileServer.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f47936a2da64accd262d24be0357fe0ea7a8e791
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Sat May 20 12:16:36 2017 +0530

    ENABLE_DEBUG has values either 0 or 1, otherwise its always defined.
    
    Change-Id: I0253dc2d83c11888e79ddb991b065eb62bbbd805

diff --git a/wsd/FileServer.cpp b/wsd/FileServer.cpp
index 769193ba..a50be219 100644
--- a/wsd/FileServer.cpp
+++ b/wsd/FileServer.cpp
@@ -207,7 +207,7 @@ void FileServerRequestHandler::handleRequest(const HTTPRequest& request, Poco::M
 
             bool gzip = request.hasToken("Accept-Encoding", "gzip");
             const std::string *content;
-#ifdef ENABLE_DEBUG
+#if ENABLE_DEBUG
             if (std::getenv("LOOL_SERVE_FROM_FS"))
             {
                 // Useful to not serve from memory sometimes especially during loleaflet development


More information about the Libreoffice-commits mailing list