|
|
@ -85,8 +85,10 @@ bool CBlockList::loadFile()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
FILE* fp = ::fopen(m_file.c_str(), "rt");
|
|
|
|
FILE* fp = ::fopen(m_file.c_str(), "rt");
|
|
|
|
if (fp == NULL) {
|
|
|
|
if (fp == NULL) {
|
|
|
|
m_callsigns.clear();
|
|
|
|
if (!m_callsigns.empty()) {
|
|
|
|
LogInfo("Loaded %u callsigns from the block list", m_callsigns.size());
|
|
|
|
m_callsigns.clear();
|
|
|
|
|
|
|
|
LogInfo("Loaded %u callsigns from the block list", m_callsigns.size());
|
|
|
|
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|