diff options
Diffstat (limited to 'transport')
-rw-r--r-- | transport/socket/src/name.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/transport/socket/src/name.c b/transport/socket/src/name.c index b6f68d5bc..831b9fd43 100644 --- a/transport/socket/src/name.c +++ b/transport/socket/src/name.c @@ -87,7 +87,7 @@ af_unix_client_bind (transport_t *this, { data_t *path_data = NULL; struct sockaddr_un *addr = NULL; - int32_t ret = -1; + int32_t ret = 0; path_data = dict_get (this->xl->options, "transport.socket.bind-path"); if (path_data) { @@ -108,6 +108,10 @@ af_unix_client_bind (transport_t *this, sock, strerror (errno)); goto err; } + } else { + gf_log (this->xl->name, GF_LOG_DEBUG, + "bind-path not specfied for unix socket, " + "letting connect to assign default value"); } err: |