aboutsummaryrefslogtreecommitdiffstats
path: root/addons
diff options
context:
space:
mode:
Diffstat (limited to 'addons')
-rw-r--r--addons/chan_mobile.c4
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;
}