aboutsummaryrefslogtreecommitdiff
path: root/init.cpp
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2011-03-16 15:42:04 -0400
committerJeff Garzik <[email protected]>2011-03-16 15:42:04 -0400
commite2e5f5cd9da7d5a4d54a8c3fb3981ba82accc78e (patch)
treec794c4dc440471f32041b6e3b30c10dc4689d887 /init.cpp
parentMerge branch 'shy' (diff)
downloaddiscoin-e2e5f5cd9da7d5a4d54a8c3fb3981ba82accc78e.tar.xz
discoin-e2e5f5cd9da7d5a4d54a8c3fb3981ba82accc78e.zip
Fix -logtimestamps to only print time prefix once per output line
Incorporate BlueMatt's fix to only timestamp upon new line, and move -logtimestamp checking outside OutputDebugPrintF() to better future-proof it.
Diffstat (limited to 'init.cpp')
-rw-r--r--init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.cpp b/init.cpp
index 3afc8eedc..8e5812669 100644
--- a/init.cpp
+++ b/init.cpp
@@ -211,8 +211,8 @@ bool AppInit2(int argc, char* argv[])
fPrintToDebugger = GetBoolArg("-printtodebugger");
fTestNet = GetBoolArg("-testnet");
-
fNoListen = GetBoolArg("-nolisten");
+ fLogTimestamps = GetBoolArg("-logtimestamps");
for (int i = 1; i < argc; i++)
if (!IsSwitchChar(argv[i][0]))