Audit of ao2_iterator_init() usage for v10. Missed one.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@353039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Richard Mudgett
2012-01-27 21:37:39 +00:00
parent 1c526d3a72
commit 0a7d748e2c
+1 -2
View File
@@ -5506,12 +5506,11 @@ static int set_member_penalty(const char *queuename, const char *interface, int
/* After hitting realtime queues, go back and get the regular ones. */
queue_iter = ao2_iterator_init(queues, 0);
while ((q = ao2_t_iterator_next(&queue_iter, "Iterate through queues"))) {
foundqueue++;
foundinterface += set_member_penalty_help_members(q, interface, penalty);
}
ao2_iterator_destroy(&queue_iter);
} else { /* We actually have a queuename, so we can just act on the single queue. */
if ((q = find_load_queue_rt_friendly(queuename))) {
foundqueue++;