Clear out delivery fields just in case

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Mark Spencer 22 years ago
parent d42f7886ab
commit 9cc3adbdd9

@ -3348,6 +3348,8 @@ static struct ast_frame *__zt_exception(struct ast_channel *ast)
p->subs[index].f.mallocd = 0;
p->subs[index].f.offset = 0;
p->subs[index].f.subclass = 0;
p->subs[index].f.delivery.tv_sec = 0;
p->subs[index].f.delivery.tv_usec = 0;
p->subs[index].f.src = "zt_exception";
p->subs[index].f.data = NULL;
@ -3462,6 +3464,8 @@ struct ast_frame *zt_read(struct ast_channel *ast)
p->subs[index].f.mallocd = 0;
p->subs[index].f.offset = 0;
p->subs[index].f.subclass = 0;
p->subs[index].f.delivery.tv_sec = 0;
p->subs[index].f.delivery.tv_usec = 0;
p->subs[index].f.src = "zt_read";
p->subs[index].f.data = NULL;

Loading…
Cancel
Save