From 9ddb5534efafdb98f440ce1053a27aa46e5f24cb Mon Sep 17 00:00:00 2001
From: "matthias.ringwald"
 <matthias.ringwald@1a0a8af8-31b5-11de-8e0c-53a27eea117e>
Date: Mon, 22 Nov 2010 17:33:51 +0000
Subject: [PATCH] correct reporting of daemon timeouts

---
 src/daemon.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/daemon.c b/src/daemon.c
index 04b148770..0e0f7e7ee 100644
--- a/src/daemon.c
+++ b/src/daemon.c
@@ -85,12 +85,12 @@ static void (*bluetooth_status_handler)(BLUETOOTH_STATE state) = dummy_bluetooth
 
 static void daemon_no_connections_timeout(){
 #ifdef USE_LAUNCHD
-    printf("No connection for %u seconds -> POWER OFF and quit\n", DAEMON_NO_CONNECTION_TIMEOUT);
+    printf("No connection for %u seconds -> POWER OFF and quit\n", DAEMON_NO_CONNECTION_TIMEOUT/1000);
     hci_power_control( HCI_POWER_OFF);
     hci_close();
     exit(0);
 #else
-    printf("No connection for %u seconds -> POWER OFF\n", DAEMON_NO_CONNECTION_TIMEOUT);
+    printf("No connection for %u seconds -> POWER OFF\n", DAEMON_NO_CONNECTION_TIMEOUT/1000);
     hci_power_control( HCI_POWER_OFF);
 #endif
 }