[Libreoffice-commits] online.git: Branch 'private/hcvcastro/forking' - loolwsd/LOOLBroker.cpp

Henry Castro hcastro at collabora.com
Mon Aug 17 15:12:44 PDT 2015


 loolwsd/LOOLBroker.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 62365a9e821fb880b72b702607e16e9ef677de3d
Author: Henry Castro <hcastro at collabora.com>
Date:   Mon Aug 17 18:12:20 2015 -0400

    loolwsd: set complain messages

diff --git a/loolwsd/LOOLBroker.cpp b/loolwsd/LOOLBroker.cpp
index 992f691..6f0c038 100644
--- a/loolwsd/LOOLBroker.cpp
+++ b/loolwsd/LOOLBroker.cpp
@@ -228,7 +228,7 @@ static bool globalPreinit(const std::string &loSubPath)
     handle = dlopen(fname.c_str(), RTLD_GLOBAL|RTLD_NOW);
     if (!handle)
     {
-        // FIXME: warn / complain dump char *dlerror(void);
+        std::cout << Util::logPrefix() << " Failed to load library :" << LIB_SOFFICEAPP << std::endl;
         return false;
     }
 
@@ -239,7 +239,7 @@ static bool globalPreinit(const std::string &loSubPath)
     preInit = (PreInitFn)dlsym(handle, "lok_preinit");
     if (!preInit)
     {
-        // FIXME; complain quietly - not the end of the world.
+        std::cout << Util::logPrefix() << " Failed to find lok_preinit hook in library :" << LIB_SOFFICEAPP << std::endl;
         return false;
     }
 


More information about the Libreoffice-commits mailing list