aboutsummaryrefslogtreecommitdiff
path: root/src/txdb.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2014-01-23 17:25:12 +0100
committerWladimir J. van der Laan <[email protected]>2014-01-23 17:25:39 +0100
commit6403c6c835a3302a6ee575576be93e4104a39685 (patch)
treeeeca53e065947846648d9373f240d593c0c0ecfc /src/txdb.cpp
parentbuild: fix typo in configure help message (diff)
parentRemove redundant .c_str()s (diff)
downloaddiscoin-6403c6c835a3302a6ee575576be93e4104a39685.tar.xz
discoin-6403c6c835a3302a6ee575576be93e4104a39685.zip
Merge pull request #3549
7d9d134 Remove redundant .c_str()s (Wladimir J. van der Laan) b77dfdc Typesafe strprintf/error/LogPrint functions (Wladimir J. van der Laan)
Diffstat (limited to 'src/txdb.cpp')
-rw-r--r--src/txdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txdb.cpp b/src/txdb.cpp
index 6ed0d1878..bd6dae0f6 100644
--- a/src/txdb.cpp
+++ b/src/txdb.cpp
@@ -219,7 +219,7 @@ bool CBlockTreeDB::LoadBlockIndexGuts()
pindexNew->nTx = diskindex.nTx;
if (!pindexNew->CheckIndex())
- return error("LoadBlockIndex() : CheckIndex failed: %s", pindexNew->ToString().c_str());
+ return error("LoadBlockIndex() : CheckIndex failed: %s", pindexNew->ToString());
pcursor->Next();
} else {