Mercurial > hg > bitcoin
changeset 2890:f08ae998dfd0 draft
fix warnings: '&&' within '||' [-Wlogical-op-parentheses]
author | Wladimir J. van der Laan <laanwj@gmail.com> |
---|---|
date | Sun, 15 Apr 2012 13:03:28 +0200 |
parents | 4d83e4d345c7 |
children | c3ce6eebff40 |
files | src/addrman.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/addrman.cpp +++ b/src/addrman.cpp @@ -312,7 +312,7 @@ pinfo->nServices |= addr.nServices; // 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; // do not update if the entry was already in the "tried" table