Some tweaks/fixups for abstract sockets.

SVN revision: 37931
This commit is contained in:
Nicholas Hughart 2008-12-05 04:48:12 +00:00
parent 5c2c6049f1
commit 0b63514546
2 changed files with 2 additions and 1 deletions

View File

@ -984,6 +984,7 @@ else
fi
echo " GnuTLS.....................: $have_gnutls"
echo " CURL.......................: $have_curl"
echo " Abstract Sockets...........: $want_abstract_sockets"
fi
echo " Ecore_Ipc....................: $have_ecore_ipc"
if test "x$have_ecore_con" = "xyes" ; then

View File

@ -235,7 +235,7 @@ ecore_con_server_add(Ecore_Con_Type compl_type, const char *name, int port,
socket_unix.sun_family = AF_UNIX;
if (type == ECORE_CON_LOCAL_ABSTRACT)
{
#ifdef HAVE_ABSTRACT_SOCKET
#ifdef HAVE_ABSTRACT_SOCKETS
/* . is a placeholder */
snprintf(socket_unix.sun_path, sizeof(socket_unix.sun_path), ".%s", name);
/* first char null indicates abstract namespace */