From 1acda9672c6e8e7037b773633fe59c61fa5e24ef Mon Sep 17 00:00:00 2001 From: cedric Date: Mon, 20 Oct 2008 11:18:58 +0000 Subject: [PATCH] Patch from Shulga Nikita. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@36846 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_con/ecore_con.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c index b0d1efe..6eb2549 100644 --- a/src/lib/ecore_con/ecore_con.c +++ b/src/lib/ecore_con/ecore_con.c @@ -278,7 +278,7 @@ ecore_con_server_add(Ecore_Con_Type compl_type, const char *name, int port, } if (bind(svr->fd, (struct sockaddr *)&socket_unix, socket_unix_len) < 0) { - if ((type == ECORE_CON_LOCAL_USER) || (type == ECORE_CON_LOCAL_SYSTEM) && + if (((type == ECORE_CON_LOCAL_USER) || (type == ECORE_CON_LOCAL_SYSTEM)) && (connect(svr->fd, (struct sockaddr *)&socket_unix, socket_unix_len) < 0) && (unlink(buf) >= 0)) goto start; -- 2.7.4