Merged revisions 154685 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r154685 | murf | 2008-11-05 09:06:53 -0700 (Wed, 05 Nov 2008) | 1 line This fix was prompted by communication from user, who was seeing thousands of error logs... looks like EAGAIN. Made such uninteresting. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@154687 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
47e61bf781
commit
c1c857932e
1 changed files with 2 additions and 1 deletions
|
@ -2442,7 +2442,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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue