diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2013-02-18 14:31:20 -0800 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2013-02-18 14:31:20 -0800 |
commit | dbac38170a537206d6aeb00f119b881560890e44 (patch) | |
tree | 780fb0bb01ca1041133696f4a284a8fdfc6da425 /src/noui.cpp | |
parent | 06bbb7a166d70389070c98bca999eba3717dbf98 (diff) | |
parent | f7f3a96b74bb795d6e184a628adce21c744d234f (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.cpp | 4 |
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*/) |