[asterisk-scf-commits] asterisk-scf/integration/bridging.git branch "async-bridging" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Apr 19 06:51:05 CDT 2011


branch "async-bridging" has been updated
       via  57add45d978fd66659a4a9f185c2382cf2473935 (commit)
      from  1cd72b5ccca16a39cb06187480e6465f3ca3811f (commit)

Summary of changes:
 src/Service.cpp |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit 57add45d978fd66659a4a9f185c2382cf2473935
Author: Brent Eagles <beagles at digium.com>
Date:   Tue Apr 19 09:16:25 2011 -0230

    Add null check for issue with Ice Logger configuration problem.

diff --git a/src/Service.cpp b/src/Service.cpp
index aa56ab8..452c022 100644
--- a/src/Service.cpp
+++ b/src/Service.cpp
@@ -190,7 +190,10 @@ void BridgingApp::start(const std::string& name, const Ice::CommunicatorPtr& com
     // TODO: check whether this works right if we've already created the logger object.
     //
     ConfiguredIceLoggerPtr iceLogger = createIceLogger(mAdapter);
-    getLoggerFactory().setLogOutput(iceLogger->getLogger());
+    if (iceLogger)
+    {
+        getLoggerFactory().setLogOutput(iceLogger->getLogger());
+    }
 
     //
     // While this property is checked early in this method, it is not used until later on.

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/bridging.git



More information about the asterisk-scf-commits mailing list