Skip to content
Snippets Groups Projects
Commit fa745468 authored by Mark Spencer's avatar Mark Spencer
Browse files

Eliminate spurious select warning

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 657056b1
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment