[asterisk-addons-commits] mnicholson: branch 1.6.0 r991 - /branches/1.6.0/channels/chan_mobile.c
SVN commits to the Asterisk addons project
asterisk-addons-commits at lists.digium.com
Thu Jul 9 16:38:45 CDT 2009
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;
More information about the asterisk-addons-commits
mailing list