From c890469513c7c4767f2fc8480935e176ef364930 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Fri, 25 Nov 2022 23:33:34 +0800 Subject: [PATCH] fix: compile error --- source/libs/sync/src/syncRequestVote.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/libs/sync/src/syncRequestVote.c b/source/libs/sync/src/syncRequestVote.c index 1cf23fc49c..5c38ba1c1a 100644 --- a/source/libs/sync/src/syncRequestVote.c +++ b/source/libs/sync/src/syncRequestVote.c @@ -133,7 +133,8 @@ int32_t syncNodeOnRequestVote(SSyncNode* ths, const SRpcMsg* pRpcMsg) { pReply->voteGranted = grant; // trace log - syncLogRecvRequestVote(ths, pReply, pReply->voteGranted, ""); + syncLogRecvRequestVote(ths, pMsg, pReply->voteGranted, ""); + syncLogSendRequestVoteReply(ths, pReply, ""); syncNodeSendMsgById(&pReply->destId, ths, &rpcMsg); return 0; } \ No newline at end of file -- GitLab