diff options
author | mnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-07-09 21:32:31 +0000 |
---|---|---|
committer | mnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-07-09 21:32:31 +0000 |
commit | 177dbb5e767ffb00c0b8ecc9c41751cc7a45d750 (patch) | |
tree | d144a6aa669b79b5b5e10598dabec3165b050bcc /addons | |
parent | 358f6c409ea163856350868c120720900e7f63c3 (diff) |
Fix mbl_fixup() in chan_mobile to update newchan->tech_pvt instead of oldchan.
(closes issue #15299)
Reported by: nikkk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@205700 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'addons')
-rw-r--r-- | addons/chan_mobile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/chan_mobile.c b/addons/chan_mobile.c index 95aed48fd..20c30f06a 100644 --- a/addons/chan_mobile.c +++ b/addons/chan_mobile.c @@ -1100,10 +1100,10 @@ static int mbl_write(struct ast_channel *ast, struct ast_frame *frame) 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) { - ast_debug(1, "fixup failed, no pvt on oldchan\n"); + ast_debug(1, "fixup failed, no pvt on newchan\n"); return -1; } |