diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-07-31 16:41:06 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-08-03 17:40:55 +0200 |
| commit | f18b8ec7cf6ebfff9eef839c6a5630ad2e6e7db6 (patch) | |
| tree | 576196cf15fe14280bf560a848404caa2825f942 /src/main.cpp | |
| parent | Merge pull request #6473 (diff) | |
| download | discoin-f18b8ec7cf6ebfff9eef839c6a5630ad2e6e7db6.tar.xz discoin-f18b8ec7cf6ebfff9eef839c6a5630ad2e6e7db6.zip | |
Make sure LogPrintf strings are line-terminated
Fix the cases where LogPrint[f] was accidentally called without line
terminator, which resulted in concatenated log lines.
(see e.g. #6492)
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index d470ba900..fa1228165 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3398,7 +3398,7 @@ bool LoadExternalBlockFile(FILE* fileIn, CDiskBlockPos *dbp) } } } catch (const std::exception& e) { - LogPrintf("%s: Deserialize or I/O error - %s", __func__, e.what()); + LogPrintf("%s: Deserialize or I/O error - %s\n", __func__, e.what()); } } } catch (const std::runtime_error& e) { |