Print an error if disconnected from D-Bus
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 21 Jul 2009 07:21:49 +0000 (09:21 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 21 Jul 2009 07:21:49 +0000 (09:21 +0200)
src/main.c

index 3b97add..891ede1 100644 (file)
@@ -50,7 +50,7 @@ static void sig_debug(int sig)
 
 static void disconnect_callback(DBusConnection *conn, void *user_data)
 {
-       DBG("D-Bus disconnect");
+       connman_error("D-Bus disconnect");
 
        g_main_loop_quit(main_loop);
 }