projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fafcdd
)
Ignore interrupted system call error on "accept"
author
Mark Spencer
<markster@digium.com>
Tue, 2 Mar 2004 16:58:17 +0000
(16:58 +0000)
committer
Mark Spencer
<markster@digium.com>
Tue, 2 Mar 2004 16:58:17 +0000
(16:58 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2293
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
asterisk.c
patch
|
blob
|
history
diff --git
a/asterisk.c
b/asterisk.c
index
16dd179
..
fb74d63
100755
(executable)
--- a/
asterisk.c
+++ b/
asterisk.c
@@
-263,7
+263,8
@@
static void *listener(void *unused)
len = sizeof(sun);
s = accept(ast_socket, (struct sockaddr *)&sun, &len);
if (s < 0) {
- ast_log(LOG_WARNING, "Accept retured %d: %s\n", s, strerror(errno));
+ if (errno != EINTR)
+ ast_log(LOG_WARNING, "Accept retured %d: %s\n", s, strerror(errno));
} else {
for (x=0;x<AST_MAX_CONNECTS;x++) {
if (consoles[x].fd < 0) {