aboutsummaryrefslogtreecommitdiff
path: root/src/noui.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-02-18 14:31:20 -0800
committerGavin Andresen <gavinandresen@gmail.com>2013-02-18 14:31:20 -0800
commitdbac38170a537206d6aeb00f119b881560890e44 (patch)
tree780fb0bb01ca1041133696f4a284a8fdfc6da425 /src/noui.cpp
parent06bbb7a166d70389070c98bca999eba3717dbf98 (diff)
parentf7f3a96b74bb795d6e184a628adce21c744d234f (diff)
Merge pull request #2315 from sipa/loaderror
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*/)