diff options
| author | Jeff Garzik <[email protected]> | 2012-09-18 15:07:58 -0400 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-09-18 15:07:58 -0400 |
| commit | ea0796bde3483189643894c6a47d31c0dba0c486 (patch) | |
| tree | 1cfcad47fd235034085d354fe5021f100d2bda5d /src/addrman.cpp | |
| parent | Merge branch 'master' of github.com:bitcoin/bitcoin (diff) | |
| download | discoin-ea0796bde3483189643894c6a47d31c0dba0c486.tar.xz discoin-ea0796bde3483189643894c6a47d31c0dba0c486.zip | |
Trim trailing whitespace for src/*.{h,cpp}
Diffstat (limited to 'src/addrman.cpp')
| -rw-r--r-- | src/addrman.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/addrman.cpp b/src/addrman.cpp index 321ebd1e2..4428cd169 100644 --- a/src/addrman.cpp +++ b/src/addrman.cpp @@ -187,7 +187,7 @@ int CAddrMan::ShrinkNew(int nUBucket) } assert(mapInfo.count(nOldest) == 1); CAddrInfo &info = mapInfo[nOldest]; - if (--info.nRefCount == 0) + if (--info.nRefCount == 0) { SwapRandom(info.nRandomPos, vRandom.size()-1); vRandom.pop_back(); @@ -241,7 +241,7 @@ void CAddrMan::MakeTried(CAddrInfo& info, int nId, int nOrigin) infoOld.nRefCount = 1; // do not update nTried, as we are going to move something else there immediately - // check whether there is place in that one, + // check whether there is place in that one, if (vNew.size() < ADDRMAN_NEW_BUCKET_SIZE) { // if so, move it back there |