aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/espik_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/espik_net.c b/src/espik_net.c
index 914f9d5..7153161 100644
--- a/src/espik_net.c
+++ b/src/espik_net.c
@@ -72,7 +72,7 @@ void espik_con_shutdown ()
/* printf ("> espik_con_shutdown\n"); */
#endif
- if (connected == 0)
+ if (!connected)
fprintf (stderr, "Unable to connect to server\n");
ecore_con_server_del (con_sock);