mirror of
https://github.com//cppla/ServerStatus
synced 2026-03-26 00:09:49 +08:00
Compatible with older versions config.json
This commit is contained in:
@@ -557,7 +557,8 @@ int CMain::ReadConfig()
|
|||||||
ID++;
|
ID++;
|
||||||
}
|
}
|
||||||
str_copy(Watchdog(ID)->m_aName, "NULL", sizeof(Watchdog(ID)->m_aName));
|
str_copy(Watchdog(ID)->m_aName, "NULL", sizeof(Watchdog(ID)->m_aName));
|
||||||
}
|
} else
|
||||||
|
str_copy(Watchdog(ID)->m_aName, "NULL", sizeof(Watchdog(ID)->m_aName));
|
||||||
|
|
||||||
// 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
|
// support by: https://cpp.la
|
||||||
|
|||||||
Reference in New Issue
Block a user