aboutsummaryrefslogtreecommitdiffstats
path: root/asterisk.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-03-04 21:32:32 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-03-04 21:32:32 +0000
commitb0e618e1646429bb273a22767292874718778786 (patch)
tree4ec649ee33604cf0870c83aa306cddbec595678c /asterisk.c
parent07f2f2dde8e1c318e9db4fa24e91e67ad6e47bcf (diff)
Eliminate spurious select warning
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2331 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'asterisk.c')
-rwxr-xr-xasterisk.c3
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);