loolwsd/LOOLBroker.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit a7f1418cf8d0f0321060e6345b2068b9a66b98ea Author: Henry Castro <[email protected]> Date: Mon Jul 27 23:53:24 2015 -0400 loolwsd: fix library handle diff --git a/loolwsd/LOOLBroker.cpp b/loolwsd/LOOLBroker.cpp index 9af12cf..c0a09f0 100644 --- a/loolwsd/LOOLBroker.cpp +++ b/loolwsd/LOOLBroker.cpp @@ -407,21 +407,21 @@ int main(int argc, char** argv) } void* dlSC = dlopen(Path("/"+ loSubPath + "/program", LIB_SCLO).toString().c_str(), RTLD_NOW); - if ( !dlOffice ) + if ( !dlSC ) { std::cout << Util::logPrefix() << " Failed to load library :" << LIB_SCLO << std::endl; exit(-1); } void* dlSW = dlopen(Path("/"+ loSubPath + "/program", LIB_SWLO).toString().c_str(), RTLD_NOW); - if ( !dlOffice ) + if ( !dlSW ) { std::cout << Util::logPrefix() << " Failed to load library :" << LIB_SWLO << std::endl; exit(-1); } void* dlSD = dlopen(Path("/"+ loSubPath + "/program", LIB_SDLO).toString().c_str(), RTLD_NOW); - if ( !dlOffice ) + if ( !dlSD ) { std::cout << Util::logPrefix() << " Failed to load library :" << LIB_SDLO << std::endl; exit(-1); _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
