[asterisk-commits] murf: branch 1.4 r154685 - /branches/1.4/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 5 10:06:53 CST 2008


Author: murf
Date: Wed Nov  5 10:06:53 2008
New Revision: 154685

URL: http://svn.digium.com/view/asterisk?view=rev&rev=154685
Log:
This fix was prompted by communication from user, who was seeing thousands of error logs... looks like EAGAIN. Made such uninteresting.

Modified:
    branches/1.4/main/channel.c

Modified: branches/1.4/main/channel.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/channel.c?view=diff&rev=154685&r1=154684&r2=154685
==============================================================================
--- branches/1.4/main/channel.c (original)
+++ branches/1.4/main/channel.c Wed Nov  5 10:06:53 2008
@@ -2038,7 +2038,8 @@
 			}
 		}
 		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));
 		}
 	}
 




More information about the asterisk-commits mailing list