[Asterisk-cvs] asterisk/channels chan_zap.c,1.176,1.177
markster at lists.digium.com
markster at lists.digium.com
Sun Feb 22 15:53:14 CST 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv16447/channels
Modified Files:
chan_zap.c
Log Message:
Small but important fix for channel relocation (bug #54)
Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.176
retrieving revision 1.177
diff -u -d -r1.176 -r1.177
--- chan_zap.c 20 Feb 2004 21:23:22 -0000 1.176
+++ chan_zap.c 22 Feb 2004 20:41:15 -0000 1.177
@@ -5887,6 +5887,7 @@
if (pri->pvt[channel]->owner) {
pri->pvt[channel]->owner->pvt->pvt = pri->pvt[channel];
pri->pvt[channel]->owner->fds[0] = pri->pvt[channel]->subs[SUB_REAL].zfd;
+ pri->pvt[channel]->subs[SUB_REAL].owner = pri->pvt[x]->subs[SUB_REAL].owner;
} else
ast_log(LOG_WARNING, "Whoa, there's no owner, and we're having to fix up channel %d to channel %d\n", x, channel);
pri->pvt[channel]->call = pri->pvt[x]->call;
More information about the svn-commits
mailing list