summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-11-19 11:16:54 +0200
committerXan Lopez <xan@gnome.org>2009-11-19 11:16:54 +0200
commit2b432eeaec3fad0172f936dd0e42cf8360a191c2 (patch)
tree693465dfb613185701318a9a4de6da4c85193f12
parent13a746d2fc81415bf3ceab7fe39a247aa18baf9b (diff)
downloadepiphany-2b432eeaec3fad0172f936dd0e42cf8360a191c2.tar.gz
ephy-net-monitor: and use && instead of ||
-rw-r--r--src/ephy-net-monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-net-monitor.c b/src/ephy-net-monitor.c
index 0f2542590..a6fb56fd9 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");