Merge pull request #1262 from Diapolo/no_double_timestamps

no more double timestamps in debug.log
This commit is contained in:
Gregory Maxwell
2012-05-14 18:59:28 -07:00
5 changed files with 3 additions and 12 deletions

View File

@@ -526,8 +526,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;