debug info

This commit is contained in:
Jeff Tao 2020-06-01 07:42:03 +00:00
parent 4cf7b73fb1
commit 8edb2efdb1
1 changed files with 1 additions and 1 deletions

View File

@ -682,11 +682,11 @@ static SRpcConn *rpcSetupConnToServer(SRpcReqContext *pContext) {
if (pConn) { if (pConn) {
pConn->ahandle = pContext->ahandle; pConn->ahandle = pContext->ahandle;
sprintf(pConn->info, "%s %p %p", pRpc->label, pConn, pConn->ahandle); sprintf(pConn->info, "%s %p %p", pRpc->label, pConn, pConn->ahandle);
pConn->tretry = 0;
} else { } else {
tError("%s %p, failed to set up connection(%s)", pRpc->label, pContext->ahandle, tstrerror(terrno)); tError("%s %p, failed to set up connection(%s)", pRpc->label, pContext->ahandle, tstrerror(terrno));
} }
pConn->tretry = 0;
return pConn; return pConn;
} }