diff --git a/src/net.cpp b/src/net.cpp index 1bb14446..968d5dd4 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -462,9 +462,9 @@ CNode* ConnectNode(CAddress addrConnect, const char *pszDest) /// debug print - printf("trying connection %s lastseen=%.1fhrs\n", - pszDest ? pszDest : addrConnect.ToString().c_str(), - pszDest ? 0 : (double)(GetAdjustedTime() - addrConnect.nTime)/3600.0); +// printf("trying connection %s lastseen=%.1fhrs\n", +// pszDest ? pszDest : addrConnect.ToString().c_str(), +// pszDest ? 0 : (double)(GetAdjustedTime() - addrConnect.nTime)/3600.0); // Connect SOCKET hSocket; diff --git a/src/netbase.cpp b/src/netbase.cpp index 08d13374..8708316c 100644 --- a/src/netbase.cpp +++ b/src/netbase.cpp @@ -359,7 +359,7 @@ bool static ConnectSocketDirectly(const CService &addrConnect, SOCKET& hSocketRe int nRet = select(hSocket + 1, NULL, &fdset, NULL, &timeout); if (nRet == 0) { - printf("connection timeout\n"); + //printf("connection timeout\n"); closesocket(hSocket); return false; } @@ -393,7 +393,7 @@ bool static ConnectSocketDirectly(const CService &addrConnect, SOCKET& hSocketRe else #endif { - printf("connect() failed: %i\n",WSAGetLastError()); + //printf("connect() failed: %i\n",WSAGetLastError()); closesocket(hSocket); return false; }