From: cedric Date: Mon, 20 Oct 2008 11:18:58 +0000 (+0000) Subject: Patch from Shulga Nikita. X-Git-Tag: build/2012-07-04.173327~2850 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1acda9672c6e8e7037b773633fe59c61fa5e24ef;p=profile%2Fivi%2Fecore.git Patch from Shulga Nikita. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@36846 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- 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;