Clear out delivery fields just in case

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-04-04 20:43:07 +00:00
parent d42f7886ab
commit 9cc3adbdd9

View File

@@ -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;