[Asterisk-cvs] asterisk asterisk.c,1.52,1.53
markster at lists.digium.com
markster at lists.digium.com
Tue Mar 2 12:07:45 CST 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv18087
Modified Files:
asterisk.c
Log Message:
Ignore interrupted system call error on "accept"
Index: asterisk.c
===================================================================
RCS file: /usr/cvsroot/asterisk/asterisk.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- asterisk.c 23 Feb 2004 03:43:21 -0000 1.52
+++ asterisk.c 2 Mar 2004 16:58:17 -0000 1.53
@@ -263,7 +263,8 @@
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) {
More information about the svn-commits
mailing list