Change text in ast_get_group to explain that max group is 31 (bug #1014)
[asterisk/asterisk.git] / 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);
                }