diff options
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/daemon/main.c b/daemon/main.c index 2c13b6a5..beec6482 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -163,8 +163,16 @@ int main(int argc, char *argv[]) exit(1); } + if (start_sdp_server(0, SDP_SERVER_COMPAT) < 0) { + dbus_connection_unref(system_bus); + g_main_loop_unref(main_loop); + exit(1); + } + g_main_loop_run(main_loop); + stop_sdp_server(); + dbus_connection_unref(system_bus); notify_remove(CONFIGDIR); |