[epiphany] ephy-net-monitor: and use && instead of ||



commit 2b432eeaec3fad0172f936dd0e42cf8360a191c2
Author: Xan Lopez <xan gnome org>
Date:   Thu Nov 19 11:16:54 2009 +0200

    ephy-net-monitor: and use && instead of ||

 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 0f25425..a6fb56f 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]