431 | @@ -432,7 +432,7 @@ bool Socks5(const std::string& strDest, uint16_t port, const ProxyCredentials* a
432 | vAuth.push_back(auth->password.size());
433 | vAuth.insert(vAuth.end(), auth->password.begin(), auth->password.end());
434 | sock.SendComplete(vAuth, g_socks5_recv_timeout, g_socks5_interrupt);
435 | - LogDebug(BCLog::PROXY, "SOCKS5 sending proxy authentication %s:%s\n", auth->username, auth->password);
436 | + LogDebug(BCLog::PROXY, "SOCKS5 sending username/password authentication\n");
Isn't this occurring after the send happened?. Could move it to the line above to actually log prior to sending the data.
Fixed, moved it above send.