[Asterisk-cvs] asterisk/channels chan_zap.c,1.198,1.199

markster at lists.digium.com markster at lists.digium.com
Sat Apr 3 21:02:36 CST 2004


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

Modified Files:
	chan_zap.c 
Log Message:
Make chan_zap allocate a comfortable amount of space for VMWI


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -d -r1.198 -r1.199
--- chan_zap.c	30 Mar 2004 21:23:16 -0000	1.198
+++ chan_zap.c	4 Apr 2004 02:02:15 -0000	1.199
@@ -5083,7 +5083,7 @@
 								res2 = ioctl(last->subs[SUB_REAL].zfd, ZT_FLUSH, &x);
 								if (res2)
 									ast_log(LOG_WARNING, "Unable to flush input on channel %d\n", last->channel);
-								last->cidspill = malloc(8192);
+								last->cidspill = malloc(MAX_CALLERID_SIZE);
 								if (last->cidspill) {
 									/* Turn on on hook transfer for 4 seconds */
 									x = 4000;




More information about the svn-commits mailing list