lbalhar / rpms / pulseaudio

Forked from rpms/pulseaudio 3 years ago
Clone
Blob Blame History Raw
diff -up pulseaudio-0.9.11/src/modules/module-default-device-restore.c.wrong-assert pulseaudio-0.9.11/src/modules/module-default-device-restore.c
--- pulseaudio-0.9.11/src/modules/module-default-device-restore.c.wrong-assert	2008-05-17 22:14:43.000000000 -0400
+++ pulseaudio-0.9.11/src/modules/module-default-device-restore.c	2008-05-17 22:14:50.000000000 -0400
@@ -158,7 +158,7 @@ static void subscribe_cb(pa_core *c, pa_
 int pa__init(pa_module *m) {
     struct userdata *u;
 
-    pa_assert(u);
+    pa_assert(m);
 
     u = pa_xnew0(struct userdata, 1);
     u->core = m->core;