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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Apr 12 16:34:18 CDT 2011


branch "master" has been updated
       via  396cbc558718ce9f6abd2c47e89a9b1b55ed2083 (commit)
      from  e1a841a22e980cd585e18e4f1b4e3f67cc1d50d5 (commit)

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


- Log -----------------------------------------------------------------
commit 396cbc558718ce9f6abd2c47e89a9b1b55ed2083
Author: Kevin P. Fleming <kpfleming at digium.com>
Date:   Tue Apr 12 16:34:14 2011 -0500

    Resolve a variable shadowing warning.

diff --git a/src/TestEndpoint.cpp b/src/TestEndpoint.cpp
index 830bdbf..f921bb8 100644
--- a/src/TestEndpoint.cpp
+++ b/src/TestEndpoint.cpp
@@ -422,13 +422,13 @@ public:
         std::cerr << "Unknown id" << std::endl;
     }
 
-    void getlog(const std::string& id, std::vector<std::string>& log)
+    void getlog(const std::string& id, std::vector<std::string>& result)
     {
         boost::unique_lock<boost::shared_mutex> lock(mMutex);
         SessionMap::iterator i = mSessions.find(id);
         if(i != mSessions.end())
         {
-            log = i->second.log;
+            result = i->second.log;
             return;
         }
         std::cerr << "Unknown id" << std::endl;

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


-- 
asterisk-scf/release/test_channel.git



More information about the asterisk-scf-commits mailing list