aboutsummaryrefslogtreecommitdiff
path: root/src/leveldbwrapper.h
diff options
context:
space:
mode:
authorR E Broadley <rebroad+github@gmail.com>2014-05-21 18:50:46 +0800
committerR E Broadley <rebroad+github@gmail.com>2014-05-22 00:23:03 +0700
commit79d06dc6e07103b31b530f71b7187ea82c34266b (patch)
tree8a01bf8e5bc367115d4b58a7969b44c35cabe096 /src/leveldbwrapper.h
parent6fcdad787f1fb381a3a0fe6b1a1e45477426dccb (diff)
Remove redundant c_str
Diffstat (limited to 'src/leveldbwrapper.h')
-rw-r--r--src/leveldbwrapper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leveldbwrapper.h b/src/leveldbwrapper.h
index 53e9e439bd..043a56bf38 100644
--- a/src/leveldbwrapper.h
+++ b/src/leveldbwrapper.h
@@ -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;