summaryrefslogtreecommitdiffstats
path: root/daemon/echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/echo.c')
-rw-r--r--daemon/echo.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/daemon/echo.c b/daemon/echo.c
index 1fe23727..d6a852e1 100644
--- a/daemon/echo.c
+++ b/daemon/echo.c
@@ -373,6 +373,7 @@ int main(int argc, char *argv[])
DBusConnection *system_bus;
GIOChannel *server_io;
struct sigaction sa;
+ char *addr;
start_logging("echo", "Bluetooth echo service ver %s", VERSION);
@@ -388,6 +389,12 @@ int main(int argc, char *argv[])
sigaction(SIGCHLD, &sa, NULL);
sigaction(SIGPIPE, &sa, NULL);
+ enable_debug();
+
+ addr = getenv("BLUETOOTHD_ADDRESS");
+
+ debug("Bluetooth daemon at %s", addr);
+
main_loop = g_main_loop_new(NULL, FALSE);
system_bus = init_dbus(NULL, NULL, NULL);