From dbb2409d76b5e744874737999d88e9f2c4ee6531 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Tue, 5 Nov 2013 21:13:26 +0000 Subject: [PATCH] remove usless output from error message --- source/shared_lib/sources/util/util.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/shared_lib/sources/util/util.cpp b/source/shared_lib/sources/util/util.cpp index e03ec729..b9d49419 100644 --- a/source/shared_lib/sources/util/util.cpp +++ b/source/shared_lib/sources/util/util.cpp @@ -566,7 +566,7 @@ void SystemFlags::logDebugEntry(DebugType type, string debugEntry, time_t debugT (*currentDebugLog.fileStream) << "[" << szBuf2 << "] " << debugEntry.c_str(); } else if (type == debugError) { - (*currentDebugLog.fileStream) << "[" << szBuf2 << "] *ERROR* " << debugEntry.c_str(); + (*currentDebugLog.fileStream) << " *ERROR* " << debugEntry.c_str(); } else { (*currentDebugLog.fileStream) << debugEntry.c_str(); @@ -587,7 +587,7 @@ void SystemFlags::logDebugEntry(DebugType type, string debugEntry, time_t debugT printf("[%s] %s", szBuf2, debugEntry.c_str()); } else if (type == debugError) { - printf("[%s] *ERROR* %s", szBuf2, debugEntry.c_str()); + printf("*ERROR* %s", debugEntry.c_str()); } else { printf("%s", debugEntry.c_str());