aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 7ab685ab27..0f11c16903 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -1744,7 +1744,7 @@ e_shell_set_network_available (EShell *shell,
if (shell->priv->network_available_locked)
return;
- if (network_available == shell->priv->network_available)
+ if ((network_available ? 1 : 0) == (shell->priv->network_available ? 1 : 0))
return;
shell->priv->network_available = network_available;