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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Apr 14 10:29:59 CDT 2011


branch "master" has been updated
       via  1f886e1225940e228bec9a983cf4a7b844e69cb4 (commit)
      from  24244fa6392253ffe2ff6c60757435be1b26da20 (commit)

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


- Log -----------------------------------------------------------------
commit 1f886e1225940e228bec9a983cf4a7b844e69cb4
Author: Mark Michelson <mmichelson at digium.com>
Date:   Thu Apr 14 10:29:23 2011 -0500

    Fix a shadowing warning.
    
    Thanks there Mr. Fleming!

diff --git a/src/PJSipSessionModule.cpp b/src/PJSipSessionModule.cpp
index 8d18093..8717d6c 100644
--- a/src/PJSipSessionModule.cpp
+++ b/src/PJSipSessionModule.cpp
@@ -558,7 +558,7 @@ void PJSipSessionModule::handleNewInvite(pjsip_rx_data *rdata)
     SipSessionPtr session;
     try
     {
-        SipSessionPtr session = caller->createSession(destination);
+        session = caller->createSession(destination);
     }
     catch (const Ice::Exception& ex)
     {

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


-- 
asterisk-scf/release/sip.git



More information about the asterisk-scf-commits mailing list