[asterisk-addons-commits] mnicholson: branch 1.6.1 r990 - /branches/1.6.1/channels/chan_mobile.c

SVN commits to the Asterisk addons project asterisk-addons-commits at lists.digium.com
Thu Jul 9 16:38:12 CDT 2009


Author: mnicholson
Date: Thu Jul  9 16:38:08 2009
New Revision: 990

URL: http://svn.asterisk.org/svn-view/asterisk-addons?view=rev&rev=990
Log:
Fix mbl_fixup() in chan_mobile to update newchan->tech_pvt instead of oldchan.

(closes issue #15299)
Reported by: nikkk

Modified:
    branches/1.6.1/channels/chan_mobile.c

Modified: branches/1.6.1/channels/chan_mobile.c
URL: http://svn.asterisk.org/svn-view/asterisk-addons/branches/1.6.1/channels/chan_mobile.c?view=diff&rev=990&r1=989&r2=990
==============================================================================
--- branches/1.6.1/channels/chan_mobile.c (original)
+++ branches/1.6.1/channels/chan_mobile.c Thu Jul  9 16:38:08 2009
@@ -864,7 +864,7 @@
 static int mbl_fixup(struct ast_channel *oldchan, struct ast_channel *newchan)
 {
 
-	struct mbl_pvt *pvt = oldchan->tech_pvt;
+	struct mbl_pvt *pvt = newchan->tech_pvt;
 
 	if (pvt && pvt->owner == oldchan)
 		pvt->owner = newchan;




More information about the asterisk-addons-commits mailing list