loolwsd/LOOLBroker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 62365a9e821fb880b72b702607e16e9ef677de3d Author: Henry Castro <hcas...@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; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits