summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/hook-list.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-08-15 00:55:31 +0200
committerLennart Poettering <lennart@poettering.net>2009-08-15 00:55:31 +0200
commitd9e4605e09e01cc64e3d37452ea0b5c2783a0085 (patch)
tree5bfe730942fd682bf4b54a9155b4b1cc5f927d09 /src/pulsecore/hook-list.c
parentd7d86e32ddea61e93e39f55a9f7e91b8d696dfab (diff)
hook-list: make use of PA_LLIST_FOREACH
Diffstat (limited to 'src/pulsecore/hook-list.c')
-rw-r--r--src/pulsecore/hook-list.c2
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;