From 7c048c0b6506dc72e584f401051e45b67ace5998 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Thu, 13 Jan 2005 03:31:58 +0000 Subject: [PATCH] Handle syntax errors in group descriptions more gracefully (bug #3330) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4773 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/channel.c b/channel.c index 36bef6c0f9..24a9351515 100755 --- a/channel.c +++ b/channel.c @@ -3053,8 +3053,8 @@ unsigned int ast_get_group(char *s) /* 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)) {