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:
Carsten Haitzler 2012-12-27 08:16:05 +00:00
parent 0d86917bbe
commit 4cd65475d4
2 changed files with 3 additions and 3 deletions

View File

@ -482,9 +482,9 @@ ecore_con_server_connect(Ecore_Con_Type compl_type,
(type == ECORE_CON_LOCAL_ABSTRACT))
/* Local */
#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
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
if ((type == ECORE_CON_REMOTE_TCP) ||

View File

@ -149,7 +149,7 @@ ecore_con_local_connect(Ecore_Con_Server *svr,
if (connect(svr->fd, (struct sockaddr *)&socket_unix,
socket_unix_len) < 0)
{
ERR("local connection failed: %s", strerror(errno));
DBG("local connection failed: %s", strerror(errno));
return 0;
}