mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 08:31:02 +00:00
Change text in ast_get_group to explain that max group is 31 (bug #1014)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2522,7 +2522,7 @@ unsigned int ast_get_group(char *s)
|
||||
}
|
||||
for (x=start;x<=finish;x++) {
|
||||
if ((x > 31) || (x < 0)) {
|
||||
ast_log(LOG_WARNING, "Ignoring invalid group %d\n", x);
|
||||
ast_log(LOG_WARNING, "Ignoring invalid group %d (maximum group is 31)\n", x);
|
||||
} else
|
||||
group |= (1 << x);
|
||||
}
|
||||
|
Reference in New Issue
Block a user