summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_con/ecore_con.c4
-rw-r--r--src/lib/ecore_con/ecore_con_local.c2
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 a50b792e0d..844605fe25 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,
482 (type == ECORE_CON_LOCAL_ABSTRACT)) 482 (type == ECORE_CON_LOCAL_ABSTRACT))
483 /* Local */ 483 /* Local */
484#ifdef _WIN32 484#ifdef _WIN32
485 EINA_SAFETY_ON_FALSE_GOTO(ecore_con_local_connect(svr, _ecore_con_cl_handler), error); 485 if (!ecore_con_local_connect(svr, _ecore_con_cl_handler)) goto error;
486#else 486#else
487 EINA_SAFETY_ON_FALSE_GOTO(ecore_con_local_connect(svr, _ecore_con_cl_handler, svr), error); 487 if (!ecore_con_local_connect(svr, _ecore_con_cl_handler, svr)) goto error;
488#endif 488#endif
489 489
490 if ((type == ECORE_CON_REMOTE_TCP) || 490 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 fff0059d66..a793bf4541 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,
149 if (connect(svr->fd, (struct sockaddr *)&socket_unix, 149 if (connect(svr->fd, (struct sockaddr *)&socket_unix,
150 socket_unix_len) < 0) 150 socket_unix_len) < 0)
151 { 151 {
152 ERR("local connection failed: %s", strerror(errno)); 152 DBG("local connection failed: %s", strerror(errno));
153 return 0; 153 return 0;
154 } 154 }
155 155