aboutsummaryrefslogtreecommitdiff
path: root/src/noui.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2013-02-16 17:58:45 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2013-02-17 23:25:42 +0100
commitf7f3a96b74bb795d6e184a628adce21c744d234f (patch)
tree79999de8be9721005662fc0dcc51cc4a030a1256 /src/noui.cpp
parent2f0fa79db290d5139c27409055b2035099afa6fd (diff)
Improve block database load error reporting
Diffstat (limited to 'src/noui.cpp')
-rw-r--r--src/noui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/noui.cpp b/src/noui.cpp
index 302d059291..c0e00c4715 100644
--- a/src/noui.cpp
+++ b/src/noui.cpp
@@ -9,7 +9,7 @@
#include <string>
-static int noui_ThreadSafeMessageBox(const std::string& message, const std::string& caption, unsigned int style)
+static bool noui_ThreadSafeMessageBox(const std::string& message, const std::string& caption, unsigned int style)
{
std::string strCaption;
// Check for usage of predefined caption
@@ -29,7 +29,7 @@ static int noui_ThreadSafeMessageBox(const std::string& message, const std::stri
printf("%s: %s\n", strCaption.c_str(), message.c_str());
fprintf(stderr, "%s: %s\n", strCaption.c_str(), message.c_str());
- return 4;
+ return false;
}
static bool noui_ThreadSafeAskFee(int64 /*nFeeRequired*/)