aboutsummaryrefslogtreecommitdiffstats
path: root/main/cli.c
diff options
context:
space:
mode:
authorjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2009-04-22 21:15:55 +0000
committerjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2009-04-22 21:15:55 +0000
commitf3943d366244e247fb3b22ef50c291b64b9709c5 (patch)
tree5a632762f1665dad4db9749279a8a216d0a9dd90 /main/cli.c
parenta4012d9519797a6fa5555b486f8ff87289900a04 (diff)
Fix building of chan_h323 with gcc-3.3
There seems to be a bug with old versions of g++ that doesn't allow a structure member to use the name list. Rename list member to group_list in ast_group_info and change the few places it is used. (closes issue #14790) Reported by: stuarth git-svn-id: http://svn.digium.com/svn/asterisk/trunk@190057 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/cli.c')
-rw-r--r--main/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/cli.c b/main/cli.c
index d6ee56adf..1d3843183 100644
--- a/main/cli.c
+++ b/main/cli.c
@@ -1439,7 +1439,7 @@ static char *group_show_channels(struct ast_cli_entry *e, int cmd, struct ast_cl
ast_cli(a->fd, FORMAT_STRING, gi->chan->name, gi->group, (ast_strlen_zero(gi->category) ? "(default)" : gi->category));
numchans++;
}
- gi = AST_LIST_NEXT(gi, list);
+ gi = AST_LIST_NEXT(gi, group_list);
}
ast_app_group_list_unlock();