mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-16 17:53:15 +00:00
Ignore signals in select, fix typo in last patch
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -614,7 +614,8 @@ static void *do_monitor(void *data)
|
||||
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
|
||||
|
Reference in New Issue
Block a user