a minor change

This commit is contained in:
Jeff Tao 2020-04-10 08:40:08 +08:00
parent 945f3ac25e
commit 358dad34ba
1 changed files with 1 additions and 1 deletions

View File

@ -1097,7 +1097,7 @@ static void rpcProcessConnError(void *param, void *id) {
tTrace("%s connection error happens", pRpc->label);
if ( pContext->numOfTry >= pContext->ipSet.numOfIps*2 ) {
if (pContext->numOfTry >= pContext->ipSet.numOfIps) {
rpcMsg.msgType = pContext->msgType+1;
rpcMsg.handle = pContext->ahandle;
rpcMsg.code = pContext->code;