mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-14 15:24:13 +00:00
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:
1 parent
4a5762ada3
commit
80e1a88b32
1 file changed
+2
-3
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user