aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-13 03:31:58 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-13 03:31:58 +0000
commit4c37e1250396e18726bc938c3fd735609d23ff8d (patch)
tree74c034963af7ce56266d249a3cea998938e57db6 /channel.c
parent894fe420fcdc865a392454fe0e529bb52b2a1211 (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-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)) {