diff options
author | Mark Spencer <markster@digium.com> | 2003-12-27 23:46:19 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-12-27 23:46:19 +0000 |
commit | 148edfcf2652990d2da04e76fa75513597b5905d (patch) | |
tree | 90a5dcfd67f35b0b4bad389c273cd2407a2d17b8 /channels/chan_modem.c | |
parent | b7bd21bc0aae0587f3e3008bd3b87bcec87d1844 (diff) |
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
Diffstat (limited to 'channels/chan_modem.c')
-rwxr-xr-x | channels/chan_modem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_modem.c b/channels/chan_modem.c index 48571af3e..09451decd 100755 --- a/channels/chan_modem.c +++ b/channels/chan_modem.c @@ -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 |