Fix compile issues
This commit is contained in:
@@ -501,7 +501,7 @@ CAddrInfo CAddrMan::Select_(bool newOnly)
|
|||||||
int nId = vvTried[nKBucket][nKBucketPos];
|
int nId = vvTried[nKBucket][nKBucketPos];
|
||||||
// assert(mapInfo.count(nId) == 1);
|
// assert(mapInfo.count(nId) == 1);
|
||||||
if(mapInfo.count(nId) != 1) {
|
if(mapInfo.count(nId) != 1) {
|
||||||
fprintf(stderr,"%s: Could not find tried node with nId=%d=vvTried[%d][%d], mapInfo.count(%d)=%d\n", __func__, nId, nKBucket, nKBuckedPos, nId, mapInfo.count(nId) );
|
fprintf(stderr,"%s: Could not find tried node with nId=%d=vvTried[%d][%d], mapInfo.count(%d)=%lu\n", __func__, nId, nKBucket, nKBucketPos, nId, mapInfo.count(nId) );
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -541,7 +541,7 @@ CAddrInfo CAddrMan::Select_(bool newOnly)
|
|||||||
int nId = vvNew[nUBucket][nUBucketPos];
|
int nId = vvNew[nUBucket][nUBucketPos];
|
||||||
|
|
||||||
if(mapInfo.count(nId) != 1) {
|
if(mapInfo.count(nId) != 1) {
|
||||||
fprintf(stderr,"%s: Could not find new node with nId=%d=vvNew[%d][%d], mapInfo.count(%d)=%d\n", __func__, nId, nUBucket, nUBuckedPos, nId, mapInfo.count(nId) );
|
fprintf(stderr,"%s: Could not find new node with nId=%d=vvNew[%d][%d], mapInfo.count(%d)=%lu\n", __func__, nId, nUBucket, nUBucketPos, nId, mapInfo.count(nId) );
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// assert(mapInfo.count(nId) == 1);
|
// assert(mapInfo.count(nId) == 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user