[Asterisk-cvs] asterisk channel.c,1.139.2.3,1.139.2.4
russell at lists.digium.com
russell at lists.digium.com
Wed Jan 12 23:14:32 CST 2005
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv17405
Modified Files:
Tag: v1-0
channel.c
Log Message:
Handle syntax errors in group descriptions more gracefully (bug #3330)
Index: channel.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channel.c,v
retrieving revision 1.139.2.3
retrieving revision 1.139.2.4
diff -u -d -r1.139.2.3 -r1.139.2.4
--- channel.c 13 Jan 2005 04:37:25 -0000 1.139.2.3
+++ channel.c 13 Jan 2005 05:18:31 -0000 1.139.2.4
@@ -2904,8 +2904,8 @@
/* Just one */
finish = start;
} else {
- ast_log(LOG_ERROR, "Syntax error parsing '%s' at '%s'. Using '0'\n", s,piece);
- return 0;
+ ast_log(LOG_ERROR, "Syntax error parsing '%s' at '%s'.\n", s, piece);
+ continue;
}
for (x=start;x<=finish;x++) {
if ((x > 31) || (x < 0)) {
More information about the svn-commits
mailing list