hook-list: make use of PA_LLIST_FOREACH

This commit is contained in:
Lennart Poettering 2009-08-15 00:55:31 +02:00
parent d7d86e32dd
commit d9e4605e09

View file

@ -97,7 +97,7 @@ pa_hook_result_t pa_hook_fire(pa_hook *hook, void *data) {
hook->n_firing ++; hook->n_firing ++;
for (slot = hook->slots; slot; slot = slot->next) { PA_LLIST_FOREACH(slot, hook->slots) {
if (slot->dead) if (slot->dead)
continue; continue;