]> code.delx.au - pulseaudio/blobdiff - src/modules/module-cli.c
Remove the call for pa_rtpoll_install() in the Solaris module.
[pulseaudio] / src / modules / module-cli.c
index 7a58877a190946d8a6a6a4351ffd62eaaea64783..fd9452b492fed6c716cc21bfe7cefd32067c8cd3 100644 (file)
@@ -5,7 +5,7 @@
 
   PulseAudio is free software; you can redistribute it and/or modify
   it under the terms of the GNU Lesser General Public License as published
-  by the Free Software Foundation; either version 2 of the License,
+  by the Free Software Foundation; either version 2.1 of the License,
   or (at your option) any later version.
 
   PulseAudio is distributed in the hope that it will be useful, but
@@ -62,7 +62,7 @@ static void eof_and_exit_cb(pa_cli*c, void *userdata) {
     pa_assert(c);
     pa_assert(m);
 
-    m->core->mainloop->quit(m->core->mainloop, 0);
+    pa_core_exit(m->core, FALSE, 0);
 }
 
 int pa__init(pa_module*m) {