[Asterisk-cvs] asterisk/channels chan_zap.c,1.171.2.4,1.171.2.5

markster at lists.digium.com markster at lists.digium.com
Sun Feb 22 17:21:25 CST 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv16831/channels

Modified Files:
      Tag: v1-0_stable
	chan_zap.c 
Log Message:
Small but important pri_fixup addition (bug #54, thangs steveu!)


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.171.2.4
retrieving revision 1.171.2.5
diff -u -d -r1.171.2.4 -r1.171.2.5
--- chan_zap.c	20 Feb 2004 21:24:07 -0000	1.171.2.4
+++ chan_zap.c	22 Feb 2004 22:09:28 -0000	1.171.2.5
@@ -5882,6 +5882,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