diff --git a/src/rpc/src/rpcMain.c b/src/rpc/src/rpcMain.c index d455cd645fea97d09de15d9b37cf93efb20c7d6f..2e2202a31b7751e30318d069fb7e76973afbadea 100644 --- a/src/rpc/src/rpcMain.c +++ b/src/rpc/src/rpcMain.c @@ -1240,7 +1240,7 @@ static void rpcProcessRetryTimer(void *param, void *tmrId) { tTrace("%s, failed to send msg:%s to %s:%hu", pConn->info, taosMsg[pConn->outType], pConn->peerFqdn, pConn->peerPort); if (pConn->pContext) { pConn->pContext->code = TSDB_CODE_RPC_NETWORK_UNAVAIL; - taosTmrStart(rpcProcessConnError, 0, pContext, pRpc->tmrCtrl); + taosTmrStart(rpcProcessConnError, 0, pConn->pContext, pRpc->tmrCtrl); rpcReleaseConn(pConn); } }