Don't store pointer to pa_module
authorLennart Poettering <lennart@poettering.net>
Wed, 17 Dec 2008 20:19:53 +0000 (21:19 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 17 Dec 2008 20:19:53 +0000 (21:19 +0100)
commit86c6fd85f11d63ba1cf634124a0971a66f244139
tree7311afa77969129c1df69869dab52ee6974c4fed
parentc5b8eb7edf73ecaccdce957b63f4113e34d5b291
Don't store pointer to pa_module

pa_module pointers might become invalid at any time, so we use the
stable uin32_t index of the module for identifying or modules instead.
src/modules/bluetooth/module-bluetooth-discover.c