mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
hook-list: make use of PA_LLIST_FOREACH
This commit is contained in:
parent
d7d86e32dd
commit
d9e4605e09
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue