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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Aug 26 09:18:42 CDT 2010


branch "master" has been updated
       via  d49283c4f8a5366fe30a2a5a33900d7e69742967 (commit)
      from  a945957a4450b5ec845062e868c4e31413c0be4a (commit)

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


- Log -----------------------------------------------------------------
commit d49283c4f8a5366fe30a2a5a33900d7e69742967
Author: Mark Michelson <mmichelson at digium.com>
Date:   Thu Aug 26 09:19:32 2010 -0500

    Actually zero the inv_callback structure. What a rookie error! GOSH!

diff --git a/src/PJSipSessionModule.cpp b/src/PJSipSessionModule.cpp
index ba6225b..c93bcb0 100644
--- a/src/PJSipSessionModule.cpp
+++ b/src/PJSipSessionModule.cpp
@@ -401,7 +401,7 @@ PJSipSessionModule::PJSipSessionModule() : mName("Session Module")
 
 	if (pjsip_inv_usage_instance()->id == -1)
 	{
-		pj_bzero(&mInvCallback, sizeof(&mInvCallback));
+		pj_bzero(&mInvCallback, sizeof(mInvCallback));
 		mInvCallback.on_state_changed = invOnStateChanged;
 		mInvCallback.on_new_session = invOnNewSession;
 		mInvCallback.on_tsx_state_changed = invOnTransactionStateChanged;

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


-- 
asterisk-scf/integration/sip.git



More information about the asterisk-scf-commits mailing list