Browse Source

Replace some function names with __func__

0.10
Pieter Wuille 10 years ago
parent
commit
7b2bb96271
  1. 4
      src/main.cpp

4
src/main.cpp

@ -2818,11 +2818,11 @@ bool static LoadBlockIndexDB()
// Load block file info // Load block file info
pblocktree->ReadLastBlockFile(nLastBlockFile); pblocktree->ReadLastBlockFile(nLastBlockFile);
vinfoBlockFile.resize(nLastBlockFile + 1); vinfoBlockFile.resize(nLastBlockFile + 1);
LogPrintf("LoadBlockIndexDB(): last block file = %i\n", nLastBlockFile); LogPrintf("%s: last block file = %i\n", __func__, nLastBlockFile);
for (int nFile = 0; nFile <= nLastBlockFile; nFile++) { for (int nFile = 0; nFile <= nLastBlockFile; nFile++) {
pblocktree->ReadBlockFileInfo(nFile, vinfoBlockFile[nFile]); pblocktree->ReadBlockFileInfo(nFile, vinfoBlockFile[nFile]);
} }
LogPrintf("LoadBlockIndexDB(): last block file info: %s\n", vinfoBlockFile[nLastBlockFile].ToString()); LogPrintf("%s: last block file info: %s\n", __func__, vinfoBlockFile[nLastBlockFile].ToString());
for (int nFile = nLastBlockFile + 1; true; nFile++) { for (int nFile = nLastBlockFile + 1; true; nFile++) {
CBlockFileInfo info; CBlockFileInfo info;
if (pblocktree->ReadBlockFileInfo(nFile, info)) { if (pblocktree->ReadBlockFileInfo(nFile, info)) {

Loading…
Cancel
Save