forked from mirrors/linphone-iphone
A RtpTransport should return 0 in case of of non-errno managed error.
A return value of 0 is then ignored by oRTP git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@738 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
32a1edae6b
commit
3818b8f487
1 changed files with 5 additions and 5 deletions
|
|
@ -925,11 +925,11 @@ rtp_session_rtp_recv (RtpSession * session, uint32_t user_ts)
|
|||
else
|
||||
{
|
||||
int errnum=getSocketErrorCode();
|
||||
|
||||
if (error == 0)
|
||||
{
|
||||
ortp_warning
|
||||
("rtp_recv: strange... recv() returned zero.");
|
||||
if (error == 0){
|
||||
/*0 can be returned by RtpTransport functions in case of EWOULDBLOCK*/
|
||||
/*we ignore it*/
|
||||
/*ortp_warning
|
||||
("rtp_recv: strange... recv() returned zero.");*/
|
||||
}
|
||||
else if (!is_would_block_error(errnum))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue