summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/rpc-lib')
-rw-r--r--rpc/rpc-lib/src/rpc-clnt-ping.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpc/rpc-lib/src/rpc-clnt-ping.c b/rpc/rpc-lib/src/rpc-clnt-ping.c
index 5a97f4bb9cf..2f11341b0d5 100644
--- a/rpc/rpc-lib/src/rpc-clnt-ping.c
+++ b/rpc/rpc-lib/src/rpc-clnt-ping.c
@@ -205,7 +205,8 @@ rpc_clnt_ping_cbk (struct rpc_req *req, struct iovec *iov, int count,
pthread_mutex_lock (&conn->lock);
{
- this->client_latency = latency_msec;
+ /* TODO: concerned people, check why this is used nowhere? */
+ this->stats.client_latency = latency_msec;
gf_log (THIS->name, GF_LOG_DEBUG,
"Ping latency is %" PRIu64 "ms",
latency_msec);