Change text in ast_get_group to explain that max group is 31 (bug #1014)
authorJames Golovich <james@gnuinter.net>
Fri, 27 Feb 2004 09:04:42 +0000 (09:04 +0000)
committerJames Golovich <james@gnuinter.net>
Fri, 27 Feb 2004 09:04:42 +0000 (09:04 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2270 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channel.c

index e4a572a..d00fc4d 100755 (executable)
--- a/channel.c
+++ b/channel.c
@@ -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);
                }