aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-11-19 17:16:54 +0800
committerXan Lopez <xan@gnome.org>2009-11-19 17:16:54 +0800
commit2b432eeaec3fad0172f936dd0e42cf8360a191c2 (patch)
tree693465dfb613185701318a9a4de6da4c85193f12
parent13a746d2fc81415bf3ceab7fe39a247aa18baf9b (diff)
downloadgsoc2013-epiphany-2b432eeaec3fad0172f936dd0e42cf8360a191c2.tar
gsoc2013-epiphany-2b432eeaec3fad0172f936dd0e42cf8360a191c2.tar.gz
gsoc2013-epiphany-2b432eeaec3fad0172f936dd0e42cf8360a191c2.tar.bz2
gsoc2013-epiphany-2b432eeaec3fad0172f936dd0e42cf8360a191c2.tar.lz
gsoc2013-epiphany-2b432eeaec3fad0172f936dd0e42cf8360a191c2.tar.xz
gsoc2013-epiphany-2b432eeaec3fad0172f936dd0e42cf8360a191c2.tar.zst
gsoc2013-epiphany-2b432eeaec3fad0172f936dd0e42cf8360a191c2.zip
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");