mirror of
https://github.com//cppla/ServerStatus
synced 2025-09-22 01:42:20 +08:00
提交一个bug
This commit is contained in:
parent
7486919dbe
commit
8acb6ec0df
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user