mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
Remove invalid flag given to iterator in func_dialgroup.c
........ Merged revisions 343336 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 343337 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@343338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user