aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-12-09 13:43:59 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-12-09 13:47:04 -0200
commit324b4e93f575d60a07f7122898b960480d771dcb (patch)
treefca201ecfc66efdd76570f0f490cd8dbecd29d84
parentefl_net_dialer: emit 'resolved' even if connection failed. (diff)
downloadefl-324b4e93f575d60a07f7122898b960480d771dcb.tar.gz
efl_net_server_unix: do not mkpath for abstract sockets.
-rw-r--r--src/lib/ecore_con/efl_net_server_unix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ecore_con/efl_net_server_unix.c b/src/lib/ecore_con/efl_net_server_unix.c
index b407d91233..c27f59c8c0 100644
--- a/src/lib/ecore_con/efl_net_server_unix.c
+++ b/src/lib/ecore_con/efl_net_server_unix.c
@@ -56,7 +56,8 @@ _efl_net_server_unix_bind(Eo *o, Efl_Net_Server_Unix_Data *pd)
efl_net_server_fd_family_set(o, AF_UNIX);
- if (pd->leading_directories_create)
+ if ((pd->leading_directories_create) &&
+ (strncmp(address, "abstract:", strlen("abstract:")) != 0))
_ecore_con_local_mkpath(address, pd->leading_directories_create_mode);
do