From 5f68a5f70d22906d35958d496894eba96898847e Mon Sep 17 00:00:00 2001
From: James Golovich <james@gnuinter.net>
Date: Fri, 27 Feb 2004 09:04:42 +0000
Subject: [PATCH] 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
---
 channel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/channel.c b/channel.c
index e4a572af35..d00fc4dd97 100755
--- 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);
 		}
-- 
GitLab