[Asterisk-cvs] asterisk/channels chan_zap.c,1.355,1.356

markster at lists.digium.com markster at lists.digium.com
Wed Oct 6 19:44:04 CDT 2004


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

Modified Files:
	chan_zap.c 
Log Message:
Be sure prev struct is built properly (bug #2581)


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.355
retrieving revision 1.356
diff -u -d -r1.355 -r1.356
--- chan_zap.c	5 Oct 2004 20:55:31 -0000	1.355
+++ chan_zap.c	6 Oct 2004 23:45:26 -0000	1.356
@@ -6556,6 +6556,7 @@
 			if (working->channel > tmp->channel) {
 				tmp->next = *wlist;
 				tmp->prev = NULL;
+				(*wlist)->prev = tmp;
 				*wlist = tmp;
 			} else {
 			/* go through all the members and put the member in the right place */




More information about the svn-commits mailing list