From 4cd65475d49e5a8ee742ec95faa61921588804e0 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Thu, 27 Dec 2012 08:16:05 +0000 Subject: [PATCH] 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 --- src/lib/ecore_con/ecore_con.c | 4 ++-- src/lib/ecore_con/ecore_con_local.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c index a50b792..844605f 100644 --- a/src/lib/ecore_con/ecore_con.c +++ b/src/lib/ecore_con/ecore_con.c @@ -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) || diff --git a/src/lib/ecore_con/ecore_con_local.c b/src/lib/ecore_con/ecore_con_local.c index fff0059..a793bf4 100644 --- a/src/lib/ecore_con/ecore_con_local.c +++ b/src/lib/ecore_con/ecore_con_local.c @@ -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; } -- 2.7.4