diff options
author | Varun Shastry <vshastry@redhat.com> | 2012-09-03 17:33:46 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-09-05 08:21:04 -0700 |
commit | 54b71368ef290bc579f113e683a82b09893fb50a (patch) | |
tree | ca2503b9478ee35cc27fdeb619c96d4d549a5280 /rpc | |
parent | 8274d3e87a950eb7c11bb64e4d0716d0480980a5 (diff) |
rpc/socket: Wrong Log-File Error-Message
Problem:
The port changed in rpc-clnt.c:rpc_clnt_reconfig was not being
updated to the variable peerinfo.identifier before the logging.
Change-Id: Ic56a74738c6f7664e9719b125a014126cea69141
BUG: 847211
Signed-off-by: Varun Shastry <vshastry@redhat.com>
Reviewed-on: http://review.gluster.org/3894
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Shishir Gowda <sgowda@redhat.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/rpc-transport/socket/src/socket.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rpc/rpc-transport/socket/src/socket.c b/rpc/rpc-transport/socket/src/socket.c index 24079a9f8fe..b043f52ef83 100644 --- a/rpc/rpc-transport/socket/src/socket.c +++ b/rpc/rpc-transport/socket/src/socket.c @@ -2010,6 +2010,8 @@ socket_connect_finish (rpc_transport_t *this) if (priv->connected != 0) goto unlock; + get_transport_identifiers (this); + ret = __socket_connect_finish (priv->sock); if (ret == -1 && errno == EINPROGRESS) @@ -2050,7 +2052,6 @@ socket_connect_finish (rpc_transport_t *this) priv->connected = 1; priv->connect_finish_log = 0; event = RPC_TRANSPORT_CONNECT; - get_transport_identifiers (this); } } unlock: |