Fix FM network section detection in Conf.cpp

This commit is contained in:
phl0 2020-05-08 13:17:29 +02:00
parent c2ca65f889
commit 51a1e2bb9c
No known key found for this signature in database
GPG key ID: 48EA1E640798CA9A

View file

@ -868,7 +868,7 @@ bool CConf::read()
m_pocsagNetworkModeHang = (unsigned int)::atoi(value);
else if (::strcmp(key, "Debug") == 0)
m_pocsagNetworkDebug = ::atoi(value) == 1;
} else if (section == SECTION_POCSAG_NETWORK) {
} else if (section == SECTION_FM_NETWORK) {
if (::strcmp(key, "Enable") == 0)
m_fmNetworkEnabled = ::atoi(value) == 1;
else if (::strcmp(key, "LocalAddress") == 0)