[asterisk-commits] murf: trunk r154687 - in /trunk: ./ main/channel.c

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


Author: murf
Date: Wed Nov  5 10:11:11 2008
New Revision: 154687

URL: http://svn.digium.com/view/asterisk?view=rev&rev=154687
Log:
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.
........

Modified:
    trunk/   (props changed)
    trunk/main/channel.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/main/channel.c?view=diff&rev=154687&r1=154686&r2=154687
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Wed Nov  5 10:11:11 2008
@@ -2442,7 +2442,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