]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/hook-list.c
core: New function: pa_module_update_proplist().
[pulseaudio] / src / pulsecore / hook-list.c
index a00116d1ffda312bc773b859b1367c9f4ab68d7f..d9b9917d40f9916efa674dd21a688da30792caa3 100644 (file)
@@ -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;