projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7d86e3
)
hook-list: make use of PA_LLIST_FOREACH
author
Lennart Poettering
<lennart@poettering.net>
Fri, 14 Aug 2009 22:55:31 +0000
(
00:55
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 14 Aug 2009 22:55:31 +0000
(
00:55
+0200)
src/pulsecore/hook-list.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/hook-list.c
b/src/pulsecore/hook-list.c
index
a00116d
..
d9b9917
100644
(file)
--- 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;