aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-07-31 16:41:06 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-08-03 17:40:55 +0200
commitf18b8ec7cf6ebfff9eef839c6a5630ad2e6e7db6 (patch)
tree576196cf15fe14280bf560a848404caa2825f942 /src/main.cpp
parent86cfd23f68367af072500b1758a4c446cdd36e74 (diff)
downloadbitcoin-f18b8ec7cf6ebfff9eef839c6a5630ad2e6e7db6.tar.xz
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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d470ba9003..fa12281655 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) {