ensure that no double timestamps show up in the debug.log, by removing manual timestamps from the source (now only -logtimestamps parameter adds timestamps to debug.log)

This commit is contained in:
Philip Kaufmann
2012-05-12 00:09:33 +02:00
parent af4006b3f5
commit 0985816bf6
5 changed files with 3 additions and 12 deletions

View File

@@ -516,8 +516,6 @@ void CNode::CloseSocketDisconnect()
fDisconnect = true;
if (hSocket != INVALID_SOCKET)
{
if (fDebug)
printf("%s ", DateTimeStrFormat("%x %H:%M:%S", GetTime()).c_str());
printf("disconnecting node %s\n", addrName.c_str());
closesocket(hSocket);
hSocket = INVALID_SOCKET;