summaryrefslogtreecommitdiff
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-04-04 20:43:07 +0000
committerMark Spencer <markster@digium.com>2004-04-04 20:43:07 +0000
commit9cc3adbdd908fbe7ba9c9ab204d5881b0a349f07 (patch)
treed12caa54ec3789a88b2401244f8351bfae5e0658 /channels/chan_zap.c
parentd42f7886abdbc2bd5971889419e72f2f7ba4959d (diff)
Clear out delivery fields just in case
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_zap.c')
-rwxr-xr-xchannels/chan_zap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index c2baa5960..3706e1462 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;