mirror of
https://github.com//cppla/ServerStatus
synced 2025-12-14 09:42:04 +08:00
提交一个bug
This commit is contained in:
@@ -400,6 +400,7 @@ int CMain::ReadConfig()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// if file exists, read last network traffic record,reset m_LastNetworkIN and m_LastNetworkOUT
|
// if file exists, read last network traffic record,reset m_LastNetworkIN and m_LastNetworkOUT
|
||||||
|
// support by: https://cpp.la, todo: restart multiple times, inaccurate
|
||||||
IOHANDLE nFile = io_open(m_Config.m_aJSONFile, IOFLAG_READ);
|
IOHANDLE nFile = io_open(m_Config.m_aJSONFile, IOFLAG_READ);
|
||||||
if(nFile)
|
if(nFile)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user