aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");