diff options
Diffstat (limited to 'channels/chan_zap.c')
-rw-r--r-- | channels/chan_zap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 90f0801a7..fc44bd4f6 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -808,7 +808,6 @@ static void wakeup_sub(struct zt_pvt *p, int a, struct zt_pri *pri) static void wakeup_sub(struct zt_pvt *p, int a, void *pri) #endif { - struct ast_frame null = { AST_FRAME_NULL, }; #ifdef ZAPATA_PRI if (pri) ast_mutex_unlock(&pri->lock); @@ -820,7 +819,7 @@ static void wakeup_sub(struct zt_pvt *p, int a, void *pri) usleep(1); ast_mutex_lock(&p->lock); } else { - ast_queue_frame(p->subs[a].owner, &null); + ast_queue_frame(p->subs[a].owner, &ast_null_frame); ast_mutex_unlock(&p->subs[a].owner->lock); break; } |