forked from enlightenment/efl
print error message when local connect fails
SVN revision: 71950
This commit is contained in:
parent
c78cd3f80b
commit
5c75633883
|
@ -143,7 +143,10 @@ 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));
|
||||
return 0;
|
||||
}
|
||||
|
||||
svr->path = strdup(buf);
|
||||
if (!svr->path)
|
||||
|
|
Loading…
Reference in New Issue