summaryrefslogtreecommitdiffstats
path: root/hcid/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/main.c')
-rw-r--r--hcid/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hcid/main.c b/hcid/main.c
index 850f1086..42cfab89 100644
--- a/hcid/main.c
+++ b/hcid/main.c
@@ -50,6 +50,7 @@
#include "hcid.h"
#include "sdpd.h"
+#include "server.h"
#include "dbus-common.h"
#include "dbus-service.h"
#include "dbus-database.h"
@@ -870,6 +871,8 @@ int main(int argc, char *argv[])
notify_init();
+ init_local_server();
+
init_services(CONFIGDIR);
/* Start event processor */
@@ -884,6 +887,8 @@ int main(int argc, char *argv[])
notify_close();
+ shutdown_local_server();
+
cleanup_sdp_session();
g_main_loop_unref(event_loop);