aboutsummaryrefslogtreecommitdiff
path: root/src/netbase.cpp
diff options
context:
space:
mode:
authorWarren Togami <wtogami@gmail.com>2016-05-09 17:35:14 -0700
committerWarren Togami <wtogami@gmail.com>2016-05-09 18:13:55 -0700
commit0d9af79e5084dc2fb6a73abd9dd113dda4e993b4 (patch)
treeea776b7cf66e52ccf6a0ee1ae19696c596bad2d2 /src/netbase.cpp
parent00678bdb0aeb296456501f818faaa012a75ce18e (diff)
SOCKS5 connecting and connected messages with -debug=net.
They were too noisy and not necessary for normal operation.
Diffstat (limited to 'src/netbase.cpp')
-rw-r--r--src/netbase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/netbase.cpp b/src/netbase.cpp
index 6e81fdcac2..5ab12c9a7c 100644
--- a/src/netbase.cpp
+++ b/src/netbase.cpp
@@ -294,7 +294,7 @@ struct ProxyCredentials
/** Connect using SOCKS5 (as described in RFC1928) */
static bool Socks5(const std::string& strDest, int port, const ProxyCredentials *auth, SOCKET& hSocket)
{
- LogPrintf("SOCKS5 connecting %s\n", strDest);
+ LogPrint("net", "SOCKS5 connecting %s\n", strDest);
if (strDest.size() > 255) {
CloseSocket(hSocket);
return error("Hostname too long");
@@ -425,7 +425,7 @@ static bool Socks5(const std::string& strDest, int port, const ProxyCredentials
CloseSocket(hSocket);
return error("Error reading from proxy");
}
- LogPrintf("SOCKS5 connected %s\n", strDest);
+ LogPrint("net", "SOCKS5 connected %s\n", strDest);
return true;
}