From: Steve Murphy Date: Wed, 5 Nov 2008 16:06:53 +0000 (+0000) Subject: This fix was prompted by communication from user, who was seeing thousands of error... X-Git-Tag: 1.4.23-rc2~3^2~49 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c352bb9aaf65fb6e6053f61661ad65ce022a12e;p=thirdparty%2Fasterisk.git This fix was prompted by communication from user, who was seeing thousands of error logs... looks like EAGAIN. Made such uninteresting. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@154685 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/channel.c b/main/channel.c index 621c2b1eff..3f8d69b02f 100644 --- a/main/channel.c +++ b/main/channel.c @@ -2038,7 +2038,8 @@ static struct ast_frame *__ast_read(struct ast_channel *chan, int dropaudio) } } if (read(chan->alertpipe[0], &blah, sizeof(blah)) < 0) { - ast_log(LOG_WARNING, "read() failed: %s\n", strerror(errno)); + if (errno != EINTR && errno != EAGAIN) + ast_log(LOG_WARNING, "read() failed: %s\n", strerror(errno)); } }