summaryrefslogtreecommitdiff
path: root/funcs/func_dialgroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'funcs/func_dialgroup.c')
-rw-r--r--funcs/func_dialgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_dialgroup.c b/funcs/func_dialgroup.c
index 4a789d627..c3322e3f9 100644
--- a/funcs/func_dialgroup.c
+++ b/funcs/func_dialgroup.c
@@ -144,7 +144,7 @@ static int dialgroup_read(struct ast_channel *chan, const char *cmd, char *data,
buf[0] = '\0';
- i = ao2_iterator_init(grhead->entries, OBJ_POINTER);
+ i = ao2_iterator_init(grhead->entries, 0);
while ((entry = ao2_iterator_next(&i))) {
int tmp = strlen(entry->name);
/* Ensure that we copy only complete names, not partials */