Change negation checking coding style.

This commit is contained in:
Daniel Caujolle-Bert 2022-01-25 18:46:33 +00:00
parent a69af8ad79
commit 4f3bc66544
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ void CNXDNGateway::run()
bool grp = (buffer[9U] & 0x01U) == 0x01U;
if (grp && currentTG == dstTG && (poll == false))
if (grp && currentTG == dstTG && !poll)
localNetwork->write(buffer + 10U, len - 10U);
LogMessage("Switched to reflector %u due to network activity", currentTG);