aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2014-07-17 13:42:25 +0200
committerWladimir J. van der Laan <[email protected]>2014-07-17 13:51:55 +0200
commit66f3d0679fc787f14738db9685fbc3a9cbfd4ffb (patch)
treed0ee838655c0f402aa12300672861cf3c7cc64fd /src/util.cpp
parentMerge pull request #4546 (diff)
parentqt: Start core thread only when needed (diff)
downloaddiscoin-66f3d0679fc787f14738db9685fbc3a9cbfd4ffb.tar.xz
discoin-66f3d0679fc787f14738db9685fbc3a9cbfd4ffb.zip
Merge pull request #4534
33357b2 qt: Start core thread only when needed (Wladimir J. van der Laan) c715ff5 ui: Replace some LogPrintfs with qDebug() (Wladimir J. van der Laan) 96ff9d6 Can't log to debug log before chain params initialized (Wladimir J. van der Laan)
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index ce31619ec..d3fa5182f 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -205,7 +205,7 @@ int LogPrintStr(const std::string &str)
// print to console
ret = fwrite(str.data(), 1, str.size(), stdout);
}
- else if (fPrintToDebugLog)
+ else if (fPrintToDebugLog && AreBaseParamsConfigured())
{
static bool fStartedNewLine = true;
boost::call_once(&DebugPrintInit, debugPrintInitFlag);