forked from enlightenment/efl
this is small but critical - failure to connect isnt something to
ERR() log about... it's simply a matter of the other end not being there... it can be a perfectly normal condition. SVN revision: 81734
This commit is contained in:
parent
0d86917bbe
commit
4cd65475d4
|
@ -482,9 +482,9 @@ ecore_con_server_connect(Ecore_Con_Type compl_type,
|
||||||
(type == ECORE_CON_LOCAL_ABSTRACT))
|
(type == ECORE_CON_LOCAL_ABSTRACT))
|
||||||
/* Local */
|
/* Local */
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
EINA_SAFETY_ON_FALSE_GOTO(ecore_con_local_connect(svr, _ecore_con_cl_handler), error);
|
if (!ecore_con_local_connect(svr, _ecore_con_cl_handler)) goto error;
|
||||||
#else
|
#else
|
||||||
EINA_SAFETY_ON_FALSE_GOTO(ecore_con_local_connect(svr, _ecore_con_cl_handler, svr), error);
|
if (!ecore_con_local_connect(svr, _ecore_con_cl_handler, svr)) goto error;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if ((type == ECORE_CON_REMOTE_TCP) ||
|
if ((type == ECORE_CON_REMOTE_TCP) ||
|
||||||
|
|
|
@ -149,7 +149,7 @@ ecore_con_local_connect(Ecore_Con_Server *svr,
|
||||||
if (connect(svr->fd, (struct sockaddr *)&socket_unix,
|
if (connect(svr->fd, (struct sockaddr *)&socket_unix,
|
||||||
socket_unix_len) < 0)
|
socket_unix_len) < 0)
|
||||||
{
|
{
|
||||||
ERR("local connection failed: %s", strerror(errno));
|
DBG("local connection failed: %s", strerror(errno));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue