]> code.delx.au - pulseaudio/commitdiff
fix a PA_LLIST_HEAD_INIT invocation
authorLennart Poettering <lennart@poettering.net>
Thu, 17 Aug 2006 20:03:38 +0000 (20:03 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 17 Aug 2006 20:03:38 +0000 (20:03 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1261 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/pulsecore/hook-list.c

index 72b206b2c0458505f8a158bbc432d145ae536732..91c2598b7b1ab840b8c863d94a453079496b9eb0 100644 (file)
@@ -24,7 +24,7 @@
 void pa_hook_init(pa_hook *hook, void *data) {
     assert(hook);
 
-    PA_LLIST_HEAD_INIT(pa_hook_slots, hook->slots);
+    PA_LLIST_HEAD_INIT(pa_hook_slot, hook->slots);
     hook->last = NULL;
     hook->n_dead = hook->firing = 0;
     hook->data = data;