diff options
Diffstat (limited to 'funcs')
-rw-r--r-- | funcs/func_groupcount.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/funcs/func_groupcount.c b/funcs/func_groupcount.c index f0d7df1b5..47fb9eabf 100644 --- a/funcs/func_groupcount.c +++ b/funcs/func_groupcount.c @@ -45,7 +45,7 @@ static int group_count_function_read(struct ast_channel *chan, const char *cmd, struct ast_group_info *gi = NULL; ast_app_group_list_rdlock(); - for (gi = ast_app_group_list_head(); gi; gi = AST_LIST_NEXT(gi, list)) { + for (gi = ast_app_group_list_head(); gi; gi = AST_LIST_NEXT(gi, group_list)) { if (gi->chan != chan) continue; if (ast_strlen_zero(category) || (!ast_strlen_zero(gi->category) && !strcasecmp(gi->category, category))) @@ -115,7 +115,7 @@ static int group_function_read(struct ast_channel *chan, const char *cmd, ast_app_group_list_rdlock(); - for (gi = ast_app_group_list_head(); gi; gi = AST_LIST_NEXT(gi, list)) { + for (gi = ast_app_group_list_head(); gi; gi = AST_LIST_NEXT(gi, group_list)) { if (gi->chan != chan) continue; if (ast_strlen_zero(data)) @@ -171,7 +171,7 @@ static int group_list_function_read(struct ast_channel *chan, const char *cmd, ast_app_group_list_rdlock(); - for (gi = ast_app_group_list_head(); gi; gi = AST_LIST_NEXT(gi, list)) { + for (gi = ast_app_group_list_head(); gi; gi = AST_LIST_NEXT(gi, group_list)) { if (gi->chan != chan) continue; if (!ast_strlen_zero(tmp1)) { |