[asterisk-scf-commits] asterisk-scf/integration/routing.git branch "basecomponent" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Jul 19 17:00:55 CDT 2011


branch "basecomponent" has been updated
       via  6c92d8677e1ab7dbf5d81d006697a49660d4f693 (commit)
      from  4400ee5984d48652fbd844d8be6f59bfd35c2bab (commit)

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


- Log -----------------------------------------------------------------
commit 6c92d8677e1ab7dbf5d81d006697a49660d4f693
Author: Ken Hunt <ken.hunt at digium.com>
Date:   Tue Jul 19 17:00:04 2011 -0500

    Use isReplicating() instead of isActive() where appropriate.

diff --git a/src/EndpointRegistry.cpp b/src/EndpointRegistry.cpp
index 6c4a1c0..95d5dba 100644
--- a/src/EndpointRegistry.cpp
+++ b/src/EndpointRegistry.cpp
@@ -123,7 +123,7 @@ public:
      */
     void forwardRemoveEndpointLocator(const std::string& locatorId, Event::OperationResult result)
     {
-        if (!mReplicationContext->isActive())
+        if (!mReplicationContext->isReplicating())
         {
             return;
         }
@@ -160,7 +160,7 @@ public:
                                    const EndpointLocatorPrx& locator, 
                                    Event::OperationResult result)
     {
-        if (!mReplicationContext->isActive())
+        if (!mReplicationContext->isReplicating())
         {
             return;
         }
@@ -197,7 +197,7 @@ public:
                                             const EndpointLocatorPrx& locator, 
                                             OperationResult result)
     {
-        if (!mReplicationContext->isActive())
+        if (!mReplicationContext->isReplicating())
         {
             return;
         }

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


-- 
asterisk-scf/integration/routing.git



More information about the asterisk-scf-commits mailing list