From 3afceaa69885d5e6cdba0ae302875180db8bfcc1 Mon Sep 17 00:00:00 2001 From: yeguanyu Date: Mon, 25 Mar 2024 17:46:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E6=BA=90=E6=B1=A0=E5=8C=96=E4=B8=8B,?= =?UTF-8?q?=E9=98=B2=E6=AD=A2=E8=AE=A9=E7=8A=B6=E6=80=81=E4=B8=BAinvalid?= =?UTF-8?q?=E7=9A=84=E8=8A=82=E7=82=B9=E8=BF=9B=E8=A1=8C=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/cm_server/cms_common_res.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cm_server/cms_common_res.cpp b/src/cm_server/cms_common_res.cpp index 143d872..691cc6a 100644 --- a/src/cm_server/cms_common_res.cpp +++ b/src/cm_server/cms_common_res.cpp @@ -212,7 +212,7 @@ static void ChangeCheckList(uint32 errIndex) } for (uint32 i = (newIndex + 1); i < g_isregCheckList.nodeCount; ++i) { - if ((i == errIndex) && !g_isregCheckList.nodeCheck[i].isValid) { + if ((i == errIndex) || !g_isregCheckList.nodeCheck[i].isValid) { continue; } if (g_isregCheckList.nodeCheck[i].checkCount < g_isregCheckList.nodeCheck[newIndex].checkCount) {