Commit 3818b8f4 authored by smorlat's avatar smorlat
Browse files

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:// 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 32a1edae
......@@ -925,11 +925,11 @@ rtp_session_rtp_recv (RtpSession * session, uint32_t user_ts)
int errnum=getSocketErrorCode();
if (error == 0)
("rtp_recv: strange... recv() returned zero.");
if (error == 0){
/*0 can be returned by RtpTransport functions in case of EWOULDBLOCK*/
/*we ignore it*/
("rtp_recv: strange... recv() returned zero.");*/
else if (!is_would_block_error(errnum))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment