fix/skip-sync-reset-timer-fix-compile

This commit is contained in:
dmchen 2024-11-26 13:09:18 +08:00
parent 7a38182a4f
commit 9a217a7593
1 changed files with 3 additions and 3 deletions

View File

@ -2589,9 +2589,9 @@ static void syncNodeEqPingTimer(void* param, void* tmrId) {
}
_out:
bool stopped = taosTmrReset(syncNodeEqPingTimer, pNode->pingTimerMS, (void*)pNode->rid, syncEnv()->pTimerManager,
&pNode->pPingTimer);
if (stopped) sError("failed to reset ping timer");
if (taosTmrReset(syncNodeEqPingTimer, pNode->pingTimerMS, (void*)pNode->rid, syncEnv()->pTimerManager,
&pNode->pPingTimer))
sError("failed to reset ping timer");
}
syncNodeRelease(pNode);
}