diff options
author | Mark Spencer <markster@digium.com> | 2004-04-04 02:02:15 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-04-04 02:02:15 +0000 |
commit | 52f13283ea161279f0adebeec96d15010cfbefb5 (patch) | |
tree | a55a0a2b9f3a966d80e2a0ccafea9dfca11707ad /channels/chan_zap.c | |
parent | 7d2624dd3c9b24c11a13d2e2ad2d169bf43b78d0 (diff) |
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
Diffstat (limited to 'channels/chan_zap.c')
-rwxr-xr-x | channels/chan_zap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 17fab8acd..c2baa5960 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; |