aboutsummaryrefslogtreecommitdiff
path: root/src/sync.cpp
diff options
context:
space:
mode:
authorJohn Newbery <[email protected]>2018-04-05 10:17:32 -0400
committerJohn Newbery <[email protected]>2018-04-07 12:29:48 -0400
commit5c21e6c6d3843232f384079837da1d9fae573b8d (patch)
tree10596bfe565862e054d4a38655c049989f2e41e1 /src/sync.cpp
parentMerge #12877: doc: Use bitcoind in Tor documentation (diff)
downloaddiscoin-5c21e6c6d3843232f384079837da1d9fae573b8d.tar.xz
discoin-5c21e6c6d3843232f384079837da1d9fae573b8d.zip
[logging] Comment all continuing logs.
Most logs should terminated with a '\n'. Some logs are built up over multiple calls to logPrintf(), so do not need a newline terminater. Comment all of these 'continued' logs as a linter hing.
Diffstat (limited to 'src/sync.cpp')
-rw-r--r--src/sync.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sync.cpp b/src/sync.cpp
index fdf7c44e4..6f21d498e 100644
--- a/src/sync.cpp
+++ b/src/sync.cpp
@@ -81,20 +81,20 @@ static void potential_deadlock_detected(const std::pair<void*, void*>& mismatch,
LogPrintf("Previous lock order was:\n");
for (const std::pair<void*, CLockLocation> & i : s2) {
if (i.first == mismatch.first) {
- LogPrintf(" (1)");
+ LogPrintf(" (1)"); /* Continued */
}
if (i.first == mismatch.second) {
- LogPrintf(" (2)");
+ LogPrintf(" (2)"); /* Continued */
}
LogPrintf(" %s\n", i.second.ToString());
}
LogPrintf("Current lock order is:\n");
for (const std::pair<void*, CLockLocation> & i : s1) {
if (i.first == mismatch.first) {
- LogPrintf(" (1)");
+ LogPrintf(" (1)"); /* Continued */
}
if (i.first == mismatch.second) {
- LogPrintf(" (2)");
+ LogPrintf(" (2)"); /* Continued */
}
LogPrintf(" %s\n", i.second.ToString());
}