diff --git a/linphone/oRTP/src/rtpsession_inet.c b/linphone/oRTP/src/rtpsession_inet.c index 78a213578dcff454a65f2c88e8189074aa1ce07f..2c4f9886bb8edd9bb3e2e122b7ec97c74da5fcb2 100644 --- a/linphone/oRTP/src/rtpsession_inet.c +++ b/linphone/oRTP/src/rtpsession_inet.c @@ -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)) {