From 52109986881e77ba2f7a2e3dfe39f2f842732f16 Mon Sep 17 00:00:00 2001 From: s_nakamoto Date: Wed, 21 Oct 2009 01:08:05 +0000 Subject: flush wallet.dat, multi-proc, reorg options, revert to startup folder shortcut --- util.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util.cpp') diff --git a/util.cpp b/util.cpp index 9c0ab142e..8271474ee 100644 --- a/util.cpp +++ b/util.cpp @@ -86,7 +86,7 @@ void RandAddSeed(bool fPerfmon) struct tm* ptmTime = gmtime(&nTime); char pszTime[200]; strftime(pszTime, sizeof(pszTime), "%x %H:%M:%S", ptmTime); - printf("%s RandAddSeed() got %d bytes of performance data\n", pszTime, nSize); + printf("%s RandAddSeed() %d bytes\n", pszTime, nSize); } } } @@ -174,7 +174,7 @@ bool error(const char* format, ...) void PrintException(std::exception* pex, const char* pszThread) { - char pszModule[260]; + char pszModule[MAX_PATH]; pszModule[0] = '\0'; GetModuleFileName(NULL, pszModule, sizeof(pszModule)); _strlwr(pszModule); -- cgit v1.2.3