diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-13 03:31:58 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-13 03:31:58 +0000 |
commit | 4c37e1250396e18726bc938c3fd735609d23ff8d (patch) | |
tree | 74c034963af7ce56266d249a3cea998938e57db6 /channel.c | |
parent | 894fe420fcdc865a392454fe0e529bb52b2a1211 (diff) |
Handle syntax errors in group descriptions more gracefully (bug #3330)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4773 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-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)) { |