diff --git a/msearch.c b/msearch.c index d3c314d..ab1fbad 100644 --- a/msearch.c +++ b/msearch.c @@ -94,8 +94,6 @@ void cSatipMsearch::Process(void) r = strtok_r(NULL, "\r\n", &s); } } - if (errno != EAGAIN && errno != EWOULDBLOCK) - error("Error %d reading in %s", errno, *ToString()); } } diff --git a/rtcp.c b/rtcp.c index d97f215..f88c805 100644 --- a/rtcp.c +++ b/rtcp.c @@ -89,8 +89,6 @@ void cSatipRtcp::Process(void) if (offset >= 0) tunerM.ProcessApplicationData(bufferM + offset, length); } - if (errno != EAGAIN && errno != EWOULDBLOCK) - error("Error %d reading in %s", errno, *ToString()); } } diff --git a/rtp.c b/rtp.c index f375be0..0be033a 100644 --- a/rtp.c +++ b/rtp.c @@ -136,9 +136,6 @@ void cSatipRtp::Process(void) } } while (count >= eRtpPacketReadCount); - if (errno != EAGAIN && errno != EWOULDBLOCK) - error("Error %d reading in %s [device %d]", errno, *ToString(), tunerM.GetId()); - elapsed = processing.Elapsed(); if (elapsed > 1) debug6("%s %d read(s) took %" PRIu64 " ms [device %d]", __PRETTY_FUNCTION__, count, elapsed, tunerM.GetId()); diff --git a/socket.c b/socket.c index ead7ec1..29c2602 100644 --- a/socket.c +++ b/socket.c @@ -129,7 +129,7 @@ int cSatipSocket::Read(unsigned char *bufferAddrP, unsigned int bufferLenP) if (len > 0) return len; } while (len > 0); - ERROR_IF_RET(len < 0 && errno != EAGAIN, "recvmsg()", return -1); + ERROR_IF_RET(len < 0 && errno != EAGAIN && errno != EWOULDBLOCK, "recvmsg()", return -1); return 0; }