[Asterisk-cvs] asterisk asterisk.c,1.51.2.1,1.51.2.2
markster at lists.digium.com
markster at lists.digium.com
Tue Mar 2 12:08:16 CST 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv18103
Modified Files:
Tag: v1-0_stable
asterisk.c
Log Message:
Ignore interrupted system call on CLI
Index: asterisk.c
===================================================================
RCS file: /usr/cvsroot/asterisk/asterisk.c,v
retrieving revision 1.51.2.1
retrieving revision 1.51.2.2
diff -u -d -r1.51.2.1 -r1.51.2.2
--- asterisk.c 23 Feb 2004 03:43:45 -0000 1.51.2.1
+++ asterisk.c 2 Mar 2004 16:58:47 -0000 1.51.2.2
@@ -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