Make sure we don't accidently send weird delivery times on DISA

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-05-04 19:20:20 +00:00
parent 19a080ddd7
commit 6ac10272bc

View File

@@ -212,6 +212,7 @@ static int disa_exec(struct ast_channel *chan, void *data)
wf.mallocd = 0;
wf.data = tone_block.buf;
wf.datalen = f->datalen;
wf.delivery.tv_sec = wf.delivery.tv_usec = 0;
make_tone_block(tone_block.buf, 350, 440, f->datalen, &x);
wf.samples = wf.datalen;
ast_frfree(f);