mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 04:42:36 -03:00
fix warnings: '&&' within '||' [-Wlogical-op-parentheses]
This commit is contained in:
parent
2e120f28e0
commit
6642ffb761
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ bool CAddrMan::Add_(const CAddress &addr, const CNetAddr& source, int64 nTimePen
|
||||||
pinfo->nServices |= addr.nServices;
|
pinfo->nServices |= addr.nServices;
|
||||||
|
|
||||||
// do not update if no new information is present
|
// do not update if no new information is present
|
||||||
if (!addr.nTime || pinfo->nTime && addr.nTime <= pinfo->nTime)
|
if (!addr.nTime || (pinfo->nTime && addr.nTime <= pinfo->nTime))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// do not update if the entry was already in the "tried" table
|
// do not update if the entry was already in the "tried" table
|
||||||
|
|
Loading…
Reference in a new issue