[asterisk-scf-commits] asterisk-scf/release/logger.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Dec 2 10:20:16 CST 2010


branch "master" has been updated
       via  4a538313aa8c9a4c08d6d160397a9005097ca2ab (commit)
      from  7796f58cbd4bc1d5f0e32993afa54df6f2502ec0 (commit)

Summary of changes:
 client/src/Logger.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit 4a538313aa8c9a4c08d6d160397a9005097ca2ab
Author: David M. Lee <dlee at digium.com>
Date:   Wed Dec 1 16:20:53 2010 -0600

    Put comment back with the code it describes.

diff --git a/client/src/Logger.cpp b/client/src/Logger.cpp
index 84291ff..d410834 100644
--- a/client/src/Logger.cpp
+++ b/client/src/Logger.cpp
@@ -153,8 +153,9 @@ Level Logger::getEffectiveLevel() const
 
 Logger& Logger::getChild(const std::string& childName)
 {
-    // ref to ptr allows us to update the map in-place
     IceUtil::Mutex::Lock childLock(mChildrenMutex);
+
+    // ref to ptr allows us to update the map in-place
     boost::shared_ptr<Logger>& child = mChildren[childName];
     if (child == 0)
     {

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


-- 
asterisk-scf/release/logger.git



More information about the asterisk-scf-commits mailing list