diff options
author | Mark Spencer <markster@digium.com> | 2004-03-04 21:32:32 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-03-04 21:32:32 +0000 |
commit | fa7454688b23b63dfa25f072fa0618fdb37287ab (patch) | |
tree | 4ec649ee33604cf0870c83aa306cddbec595678c /asterisk.c | |
parent | 657056b11445ada5230c6c59dea2baf9e5180922 (diff) |
Eliminate spurious select warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'asterisk.c')
-rwxr-xr-x | asterisk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/asterisk.c b/asterisk.c index ac2b503c4..a267df996 100755 --- a/asterisk.c +++ b/asterisk.c @@ -257,7 +257,8 @@ static void *listener(void *unused) FD_SET(ast_socket, &fds); s = ast_select(ast_socket + 1, &fds, NULL, NULL, NULL); if (s < 0) { - ast_log(LOG_WARNING, "Select returned error: %s\n", strerror(errno)); + if (errno != EINTR) + ast_log(LOG_WARNING, "Select returned error: %s\n", strerror(errno)); continue; } len = sizeof(sun); |