fix: compile error

This commit is contained in:
Shengliang Guan 2022-11-25 23:33:34 +08:00
parent 15d2da13b8
commit c890469513
1 changed files with 2 additions and 1 deletions

View File

@ -133,7 +133,8 @@ int32_t syncNodeOnRequestVote(SSyncNode* ths, const SRpcMsg* pRpcMsg) {
pReply->voteGranted = grant; pReply->voteGranted = grant;
// trace log // trace log
syncLogRecvRequestVote(ths, pReply, pReply->voteGranted, ""); syncLogRecvRequestVote(ths, pMsg, pReply->voteGranted, "");
syncLogSendRequestVoteReply(ths, pReply, "");
syncNodeSendMsgById(&pReply->destId, ths, &rpcMsg); syncNodeSendMsgById(&pReply->destId, ths, &rpcMsg);
return 0; return 0;
} }