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
1.0
James Golovich 22 years ago
parent ade75fecae
commit 5f68a5f70d

@ -2522,7 +2522,7 @@ unsigned int ast_get_group(char *s)
} }
for (x=start;x<=finish;x++) { for (x=start;x<=finish;x++) {
if ((x > 31) || (x < 0)) { 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 } else
group |= (1 << x); group |= (1 << x);
} }

Loading…
Cancel
Save