summaryrefslogtreecommitdiff
path: root/polyp/main.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-03 22:44:55 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-03 22:44:55 +0000
commitfb962b67dbeb54d1cdd453c6f902b7c679b9197f (patch)
tree8e74e21d2a976ca7c328ed698edeb0591dcea66e /polyp/main.c
parent4a9239f808b08cf391ded6052bab9cc499e4b505 (diff)
add option to disallow module loading after startup
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@177 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/main.c')
-rw-r--r--polyp/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/polyp/main.c b/polyp/main.c
index eba15c35b..1c09276e2 100644
--- a/polyp/main.c
+++ b/polyp/main.c
@@ -211,6 +211,9 @@ int main(int argc, char *argv[]) {
retval = 0;
if (cmdline->daemonize)
pa_loop_write(daemon_pipe[1], &retval, sizeof(retval));
+
+ c->disallow_module_loading = cmdline->disallow_module_loading;
+
fprintf(stderr, __FILE__": mainloop entry.\n");
if (pa_mainloop_run(mainloop, &retval) < 0)
retval = 1;