Remove redundant c_str

This commit is contained in:
R E Broadley
2014-05-21 18:50:46 +08:00
parent 6fcdad787f
commit 79d06dc6e0
7 changed files with 15 additions and 15 deletions

View File

@@ -93,7 +93,7 @@ public:
if (!status.ok()) {
if (status.IsNotFound())
return false;
LogPrintf("LevelDB read failure: %s\n", status.ToString().c_str());
LogPrintf("LevelDB read failure: %s\n", status.ToString());
HandleError(status);
}
try {
@@ -122,7 +122,7 @@ public:
if (!status.ok()) {
if (status.IsNotFound())
return false;
LogPrintf("LevelDB read failure: %s\n", status.ToString().c_str());
LogPrintf("LevelDB read failure: %s\n", status.ToString());
HandleError(status);
}
return true;