From 72b1517ac1a75fd39fafd83a43ca4172577fa0d8 Mon Sep 17 00:00:00 2001 From: Jean-François Rameau Date: Sun, 12 Feb 2006 20:27:56 +0000 Subject: Doesn't return the right variable ! Add a LOG to trace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2006-02-12 Jean-François Rameau * src/ephy-net-monitor.c: (ephy_net_monitor_check_for_active_device): Doesn't return the right variable ! Add a LOG to trace EphyNetworkMonitor's check for active device. --- src/ephy-net-monitor.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/ephy-net-monitor.c b/src/ephy-net-monitor.c index f9dfe3ed1..df550bb5e 100644 --- a/src/ephy-net-monitor.c +++ b/src/ephy-net-monitor.c @@ -152,6 +152,8 @@ ephy_net_monitor_check_for_active_device (EphyNetMonitor *monitor, DBUS_TYPE_ARRAY, DBUS_TYPE_STRING, &networks, &num_networks, DBUS_TYPE_INVALID)) { + LOG ("EphyNetMonitor found %s active device", active ? "at least 1" : "no"); + dbus_message_unref (reply); /* found one active device */ @@ -177,7 +179,7 @@ ephy_net_monitor_check_for_active_device (EphyNetMonitor *monitor, } } - return active; + return status; } /* This is the heart of Net Monitor monitor */ -- cgit