Remove invalid flag given to iterator in func_dialgroup.c

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@343336 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Richard Mudgett
2011-11-03 19:56:37 +00:00
parent fc52d0af86
commit 6766269558

View File

@@ -144,7 +144,7 @@ static int dialgroup_read(struct ast_channel *chan, const char *cmd, char *data,
buf[0] = '\0'; buf[0] = '\0';
i = ao2_iterator_init(grhead->entries, OBJ_POINTER); i = ao2_iterator_init(grhead->entries, 0);
while ((entry = ao2_iterator_next(&i))) { while ((entry = ao2_iterator_next(&i))) {
int tmp = strlen(entry->name); int tmp = strlen(entry->name);
/* Ensure that we copy only complete names, not partials */ /* Ensure that we copy only complete names, not partials */