提交 80e1a88b authored 作者: Moises Silva's avatar Moises Silva

dont return error if there are no events on wanpipe_poll, it may be an async…

dont return error if there are no events on wanpipe_poll, it may be an async signal on the wanpipe device

git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@950 a93c3328-9c30-0410-af19-c9cd2b2d52af
上级 4a5762ad
......@@ -855,9 +855,8 @@ ZIO_SPAN_POLL_EVENT_FUNCTION(wanpipe_poll_event)
k++;
}
}
return k ? ZAP_SUCCESS : ZAP_FAIL;
/* when k is 0 it might be that an async wanpipe device signal was delivered */
return ZAP_SUCCESS;
}
/**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论