summaryrefslogtreecommitdiff
path: root/src/modules/module-zeroconf-publish.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-08-05 23:56:25 +0200
committerLennart Poettering <lennart@poettering.net>2008-08-05 23:56:25 +0200
commit34dd4a20f2e976b260e8aa3f3128e55ec80bb85b (patch)
tree7dbb7baff0336d98fcd81cdf330a6d8015963ef6 /src/modules/module-zeroconf-publish.c
parentca127532fcddd28cc40bbbe0646a1205b365ffb7 (diff)
fix shutdown when --disallow-module-loading=1 is passed
Diffstat (limited to 'src/modules/module-zeroconf-publish.c')
-rw-r--r--src/modules/module-zeroconf-publish.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-zeroconf-publish.c b/src/modules/module-zeroconf-publish.c
index 789291791..985564f4c 100644
--- a/src/modules/module-zeroconf-publish.c
+++ b/src/modules/module-zeroconf-publish.c
@@ -539,7 +539,7 @@ static void client_callback(AvahiClient *c, AvahiClientState state, void *userda
if (!(u->client = avahi_client_new(u->avahi_poll, AVAHI_CLIENT_NO_FAIL, client_callback, u, &error))) {
pa_log("avahi_client_new() failed: %s", avahi_strerror(error));
- pa_module_unload_request(u->module);
+ pa_module_unload_request(u->module, TRUE);
}
}