1
0
Fork 0

Remove duplicate log messages.

master
Jonathan Naylor 4 years ago
parent 6c3af73383
commit 0c02bec9d2

@ -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;
} }

@ -19,6 +19,6 @@
#if !defined(VERSION_H) #if !defined(VERSION_H)
#define VERSION_H #define VERSION_H
const char* VERSION = "20210214"; const char* VERSION = "20210215";
#endif #endif

Loading…
Cancel
Save