Patch from Shulga Nikita.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 20 Oct 2008 11:18:58 +0000 (11:18 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 20 Oct 2008 11:18:58 +0000 (11:18 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@36846 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_con/ecore_con.c

index b0d1efe..6eb2549 100644 (file)
@@ -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;