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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Mon Apr 11 15:56:30 CDT 2011


branch "master" has been updated
       via  62336bb7f690b64562ccd19ed6cd370f6e47ac28 (commit)
      from  4838f17d8deeb4991ee6bd0edc1ba23a197fa0f2 (commit)

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


- Log -----------------------------------------------------------------
commit 62336bb7f690b64562ccd19ed6cd370f6e47ac28
Author: Joshua Colp <jcolp at digium.com>
Date:   Mon Apr 11 17:59:49 2011 -0300

    Fix a scoping issue.

diff --git a/src/EndpointRegistry.cpp b/src/EndpointRegistry.cpp
index 73a51d3..362d625 100644
--- a/src/EndpointRegistry.cpp
+++ b/src/EndpointRegistry.cpp
@@ -224,7 +224,7 @@ void EndpointRegistry::setEndpointLocatorDestinationIds(const std::string& locat
 
         {   // critical scope
             boost::shared_lock<boost::shared_mutex> lock(mImpl->mLock);
-            EndpointLocatorMapIterator existing = mImpl->mEndpointLocatorMap.find(locatorId);
+            existing = mImpl->mEndpointLocatorMap.find(locatorId);
             end = mImpl->mEndpointLocatorMap.end();
         }
 

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


-- 
asterisk-scf/release/routing.git



More information about the asterisk-scf-commits mailing list