Skip to content
Snippets Groups Projects
Commit 7c048c0b authored by Mark Spencer's avatar Mark Spencer
Browse files

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
parent 5bb53baa
No related branches found
No related tags found
No related merge requests found
......@@ -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)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment