Clear out delivery fields just in case
authorMark Spencer <markster@digium.com>
Sun, 4 Apr 2004 20:43:07 +0000 (20:43 +0000)
committerMark Spencer <markster@digium.com>
Sun, 4 Apr 2004 20:43:07 +0000 (20:43 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2613 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index c2baa59..3706e14 100755 (executable)
@@ -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;