Remove duplicate log messages.
This commit is contained in:
parent
6c3af73383
commit
0c02bec9d2
2 changed files with 5 additions and 3 deletions
|
@ -85,8 +85,10 @@ bool CBlockList::loadFile()
|
|||
{
|
||||
FILE* fp = ::fopen(m_file.c_str(), "rt");
|
||||
if (fp == NULL) {
|
||||
m_callsigns.clear();
|
||||
LogInfo("Loaded %u callsigns from the block list", m_callsigns.size());
|
||||
if (!m_callsigns.empty()) {
|
||||
m_callsigns.clear();
|
||||
LogInfo("Loaded %u callsigns from the block list", m_callsigns.size());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -19,6 +19,6 @@
|
|||
#if !defined(VERSION_H)
|
||||
#define VERSION_H
|
||||
|
||||
const char* VERSION = "20210214";
|
||||
const char* VERSION = "20210215";
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue