[Asterisk-cvs] asterisk acl.c, 1.34, 1.35 cdr.c, 1.28,
1.29 channel.c, 1.169, 1.170
twisted at lists.digium.com
twisted at lists.digium.com
Mon Jan 17 16:50:19 CST 2005
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv30279
Modified Files:
acl.c cdr.c channel.c
Log Message:
Misc Grammer/formatting fixes - Thanks Corydon76! (bug #3361)
Index: acl.c
===================================================================
RCS file: /usr/cvsroot/asterisk/acl.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- acl.c 11 Jan 2005 17:08:52 -0000 1.34
+++ acl.c 17 Jan 2005 22:53:36 -0000 1.35
@@ -154,12 +154,12 @@
ha->netmask.s_addr = htonl(y);
}
} else if (!inet_aton(nm, &ha->netmask)) {
- ast_log(LOG_WARNING, "%s not a valid netmask\n", nm);
+ ast_log(LOG_WARNING, "%s is not a valid netmask\n", nm);
free(ha);
return path;
}
if (!inet_aton(tmp, &ha->netaddr)) {
- ast_log(LOG_WARNING, "%s not a valid IP\n", tmp);
+ ast_log(LOG_WARNING, "%s is not a valid IP\n", tmp);
free(ha);
return path;
}
Index: cdr.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cdr.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- cdr.c 10 Jan 2005 14:46:59 -0000 1.28
+++ cdr.c 17 Jan 2005 22:53:36 -0000 1.29
@@ -209,7 +209,7 @@
break;
default:
res = -1;
- ast_log(LOG_WARNING, "We don't handle that cause yet\n");
+ ast_log(LOG_WARNING, "Cause not handled\n");
}
cdr = cdr->next;
}
Index: channel.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channel.c,v
retrieving revision 1.169
retrieving revision 1.170
diff -u -d -r1.169 -r1.170
--- channel.c 17 Jan 2005 12:37:55 -0000 1.169
+++ channel.c 17 Jan 2005 22:53:36 -0000 1.170
@@ -916,7 +916,7 @@
pfds = alloca(sizeof(struct pollfd) * n);
if (!pfds) {
- ast_log(LOG_WARNING, "alloca failed! bad things will happen.\n");
+ ast_log(LOG_ERROR, "Out of memory\n");
return -1;
}
if (*ms > 0)
@@ -981,7 +981,7 @@
pfds = alloca(sizeof(struct pollfd) * (n * AST_MAX_FDS + nfds));
if (!pfds) {
- ast_log(LOG_WARNING, "alloca failed! bad things will happen.\n");
+ ast_log(LOG_ERROR, "Out of memory\n");
*outfd = -1;
return NULL;
}
More information about the svn-commits
mailing list