[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-addons-commits
Subject:    [asterisk-addons-commits] mnicholson: branch 1.6.0 r991 -
From:       SVN commits to the Asterisk addons project
Date:       2009-07-09 21:38:45
Message-ID: E1MP1KP-0003vo-FE () lists ! digium ! com
[Download RAW message or body]

Author: mnicholson
Date: Thu Jul  9 16:38:41 2009
New Revision: 991

URL: http://svn.asterisk.org/svn-view/asterisk-addons?view=rev&rev=991
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.0/channels/chan_mobile.c

Modified: branches/1.6.0/channels/chan_mobile.c
URL: http://svn.asterisk.org/svn-view/asterisk-addons/branches/1.6.0/channels/chan_mobile.c?view=diff&rev=991&r1=990&r2=991
 ==============================================================================
--- branches/1.6.0/channels/chan_mobile.c (original)
+++ branches/1.6.0/channels/chan_mobile.c Thu Jul  9 16:38:41 2009
@@ -850,7 +850,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;


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-addons-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-addons-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic