summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-01-13 03:31:58 +0000
committerMark Spencer <markster@digium.com>2005-01-13 03:31:58 +0000
commit7c048c0b6506dc72e584f401051e45b67ace5998 (patch)
tree74c034963af7ce56266d249a3cea998938e57db6
parent5bb53baa0e186757cbe9b61f611a4e2adcb72965 (diff)
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
-rwxr-xr-xchannel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channel.c b/channel.c
index 36bef6c0f..24a935151 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)) {