aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2014-09-11 08:56:23 +0200
committerWladimir J. van der Laan <[email protected]>2014-09-11 08:56:34 +0200
commit8040e938c56f65a8e46bc0ad0b6bd35c63185749 (patch)
tree02ca4e9f00b2f6af46a771766fca0b915e90933f /src/util.cpp
parentFix crashing bug caused by orphan(s) with duplicate prevout.hash (diff)
parentUse explicit fflush() instead of setvbuf() (diff)
downloaddiscoin-8040e938c56f65a8e46bc0ad0b6bd35c63185749.tar.xz
discoin-8040e938c56f65a8e46bc0ad0b6bd35c63185749.zip
Merge pull request #4892
e982b57 Use explicit fflush() instead of setvbuf() (Adam Weiss)
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 5a4e187f9..20aff49c8 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -211,6 +211,7 @@ int LogPrintStr(const std::string &str)
{
// print to console
ret = fwrite(str.data(), 1, str.size(), stdout);
+ fflush(stdout);
}
else if (fPrintToDebugLog && AreBaseParamsConfigured())
{