diff options
Diffstat (limited to 'rpc/rpc-transport/socket/src')
-rw-r--r-- | rpc/rpc-transport/socket/src/socket.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rpc/rpc-transport/socket/src/socket.c b/rpc/rpc-transport/socket/src/socket.c index 46929ceee32..94b03f913ab 100644 --- a/rpc/rpc-transport/socket/src/socket.c +++ b/rpc/rpc-transport/socket/src/socket.c @@ -3508,6 +3508,7 @@ socket_connect(rpc_transport_t *this, int port) will result in EPOLLERR, so cleanup is done in socket_event_handler or socket_poller */ shutdown(priv->sock, SHUT_RDWR); + ret = 0; gf_log(this->name, GF_LOG_TRACE, "@@@ client shutdown(%d, SHUT_RDWR)", priv->sock); } @@ -3555,6 +3556,8 @@ err: GF_FREE(arg); GF_ASSERT(0); } + + ret = 0; } return ret; |