[Asterisk-cvs] asterisk channel.c,1.164,1.165

markster at lists.digium.com markster at lists.digium.com
Wed Jan 12 21:27:59 CST 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv16702

Modified Files:
	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.164
retrieving revision 1.165
diff -u -d -r1.164 -r1.165
--- channel.c	10 Jan 2005 14:46:59 -0000	1.164
+++ channel.c	13 Jan 2005 03:31:58 -0000	1.165
@@ -3053,8 +3053,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