diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-05-18 19:06:31 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-05-18 19:06:31 +0000 |
commit | 0a2b6dd38f4526928d552b3019466bf3a0ae7077 (patch) | |
tree | cf3852b6c8e0196ac7d2ed70573e092cd65c9661 /src/modules/module-default-device-restore.c | |
parent | 940f89860c3730923bbc20f689ee9e3dd8070872 (diff) |
fix a misplaced assert
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2463 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/modules/module-default-device-restore.c')
-rw-r--r-- | src/modules/module-default-device-restore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-default-device-restore.c b/src/modules/module-default-device-restore.c index a7fc3a3f..f0d0fe6c 100644 --- a/src/modules/module-default-device-restore.c +++ b/src/modules/module-default-device-restore.c @@ -158,7 +158,7 @@ static void subscribe_cb(pa_core *c, pa_subscription_event_type_t t, uint32_t id 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; |