Minor code beauty

This commit is contained in:
phl0
2018-09-14 23:15:50 +02:00
parent d650c66e5b
commit ecc97aaab7
2 changed files with 2 additions and 2 deletions

View File

@@ -496,7 +496,7 @@ bool CConf::read()
}
p = ::strtok(NULL, ",\r\n");
}
}else if (::strcmp(key, "AckReply") == 0)
} else if (::strcmp(key, "AckReply") == 0)
m_dstarAckReply = ::atoi(value) == 1;
else if (::strcmp(key, "AckTime") == 0)
m_dstarAckTime = (unsigned int)::atoi(value);

2
Conf.h
View File

@@ -334,7 +334,7 @@ private:
std::string m_dstarModule;
bool m_dstarSelfOnly;
std::vector<std::string> m_dstarBlackList;
bool m_dstarAckReply;
bool m_dstarAckReply;
unsigned int m_dstarAckTime;
bool m_dstarAckMessage;
bool m_dstarErrorReply;