print error message when local connect fails

SVN revision: 71950
This commit is contained in:
Mike Blumenkrantz 2012-06-11 14:15:12 +00:00
parent c78cd3f80b
commit 5c75633883
1 changed files with 4 additions and 1 deletions

View File

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