[Asterisk-cvs] asterisk/channels chan_modem.c,1.18,1.19
markster at lists.digium.com
markster at lists.digium.com
Sat Dec 27 17:54:44 CST 2003
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv6864/channels
Modified Files:
chan_modem.c
Log Message:
Ignore signals in select, fix typo in last patch
Index: chan_modem.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_modem.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- chan_modem.c 9 Dec 2003 23:55:17 -0000 1.18
+++ chan_modem.c 27 Dec 2003 23:46:19 -0000 1.19
@@ -614,7 +614,8 @@
pthread_testcancel();
/* Okay, select has finished. Let's see what happened. */
if (res < 1) {
- ast_log(LOG_WARNING, "select return %d: %s\n", res, strerror(errno));
+ if ((errno != EINTR) && (errno != EAGAIN))
+ ast_log(LOG_WARNING, "select return %d: %s\n", res, strerror(errno));
continue;
}
/* Alright, lock the interface list again, and let's look and see what has
More information about the svn-commits
mailing list