diff options
author | Mark Spencer <markster@digium.com> | 2005-01-13 03:31:58 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-01-13 03:31:58 +0000 |
commit | 7c048c0b6506dc72e584f401051e45b67ace5998 (patch) | |
tree | 74c034963af7ce56266d249a3cea998938e57db6 | |
parent | 5bb53baa0e186757cbe9b61f611a4e2adcb72965 (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-x | channel.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) { |