From: Mark Spencer Date: Sun, 4 Apr 2004 02:02:15 +0000 (+0000) Subject: Make chan_zap allocate a comfortable amount of space for VMWI X-Git-Tag: 1.0.0-rc1~806 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=52f13283ea161279f0adebeec96d15010cfbefb5;p=thirdparty%2Fasterisk.git Make chan_zap allocate a comfortable amount of space for VMWI git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2610 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 17fab8acd6..c2baa59600 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -5083,7 +5083,7 @@ static void *do_monitor(void *data) 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;