From 9cc3adbdd908fbe7ba9c9ab204d5881b0a349f07 Mon Sep 17 00:00:00 2001
From: Mark Spencer <markster@digium.com>
Date: Sun, 4 Apr 2004 20:43:07 +0000
Subject: [PATCH] Clear out delivery fields just in case

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 channels/chan_zap.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index c2baa59600..3706e14624 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -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;
 	
-- 
GitLab