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
This commit is contained in:
parent
4a5762ada3
commit
80e1a88b32
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue