Remove invalid flag given to iterator in func_dialgroup.c
authorRichard Mudgett <rmudgett@digium.com>
Thu, 3 Nov 2011 19:57:49 +0000 (19:57 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 3 Nov 2011 19:57:49 +0000 (19:57 +0000)
........

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

funcs/func_dialgroup.c

index 4a789d6..c3322e3 100644 (file)
@@ -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 */