From 5dd9a7506d056da536106c45f69980abdeb19e93 Mon Sep 17 00:00:00 2001 From: pandx Date: Thu, 24 Oct 2024 17:04:14 +0800 Subject: [PATCH] modify a little. --- threadfunc/check_thread.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/threadfunc/check_thread.cpp b/threadfunc/check_thread.cpp index 3607d52..a6e7688 100644 --- a/threadfunc/check_thread.cpp +++ b/threadfunc/check_thread.cpp @@ -78,9 +78,7 @@ void CheckThread() { #endif } std::string ipTemp = IpAddrInit(); - GlobalConfig::IpAddr_G = ipTemp; - if (0 != ipTemp.compare(GlobalConfig::IpAddr_G)) { - } + GlobalConfig::IpAddr_G = ipTemp; heart_count = 0; } #ifdef G2UL_GATEWAY