From e2e5f5cd9da7d5a4d54a8c3fb3981ba82accc78e Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Wed, 16 Mar 2011 15:42:04 -0400 Subject: 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. --- init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.cpp') 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])) -- cgit v1.2.3