diff options
-rw-r--r-- | transport/socket/src/socket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/transport/socket/src/socket.c b/transport/socket/src/socket.c index fe18808a0..14f151cb0 100644 --- a/transport/socket/src/socket.c +++ b/transport/socket/src/socket.c @@ -949,6 +949,7 @@ socket_connect (transport_t *this) if (sock != -1) { gf_log (this->xl->name, GF_LOG_DEBUG, "connect () called on transport already connected"); + ret = 0; goto err; } |