[epiphany] ephy-net-monitor: logic of the NULL checks was inverted



commit 13a746d2fc81415bf3ceab7fe39a247aa18baf9b
Author: Xan Lopez <xan gnome org>
Date:   Thu Nov 19 11:10:37 2009 +0200

    ephy-net-monitor: logic of the NULL checks was inverted

 src/ephy-net-monitor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-net-monitor.c b/src/ephy-net-monitor.c
index 3107ad2..0f25425 100644
--- a/src/ephy-net-monitor.c
+++ b/src/ephy-net-monitor.c
@@ -107,7 +107,7 @@ ephy_net_monitor_check_network (EphyNetMonitor *monitor)
 	DBusMessage *message;
 	DBusPendingCall* reply;
 
-	g_return_if_fail (priv == NULL || priv->bus == NULL);
+	g_return_if_fail (priv != NULL || priv->bus != NULL);
 
 	LOG ("EphyNetMonitor checking network");
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]