controlclient: remove unnecessary comparison to bool.

Signed-off-by: David Anderson <dave@natulte.net>
This commit is contained in:
David Anderson 2020-02-10 23:14:38 -08:00
parent 14af0c4eb3
commit fe9af19da9

View File

@ -196,7 +196,7 @@ func (c *Client) cancelMapSafely() {
c.logf("cancelMapSafely: synced=%v\n", c.synced)
if c.inPollNetMap == true {
if c.inPollNetMap {
// received at least one netmap since the last
// interruption. That means the server has already
// fully processed our last request, which might