diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-08-15 00:55:31 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-08-15 00:55:31 +0200 |
commit | d9e4605e09e01cc64e3d37452ea0b5c2783a0085 (patch) | |
tree | 5bfe730942fd682bf4b54a9155b4b1cc5f927d09 | |
parent | d7d86e32ddea61e93e39f55a9f7e91b8d696dfab (diff) |
hook-list: make use of PA_LLIST_FOREACH
-rw-r--r-- | src/pulsecore/hook-list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/hook-list.c b/src/pulsecore/hook-list.c index a00116d1..d9b9917d 100644 --- a/src/pulsecore/hook-list.c +++ b/src/pulsecore/hook-list.c @@ -97,7 +97,7 @@ pa_hook_result_t pa_hook_fire(pa_hook *hook, void *data) { hook->n_firing ++; - for (slot = hook->slots; slot; slot = slot->next) { + PA_LLIST_FOREACH(slot, hook->slots) { if (slot->dead) continue; |