minor logging improvement

This commit is contained in:
Arvid Norberg 2014-03-07 09:38:49 +00:00
parent e332167ddd
commit b889bc6dc6
1 changed files with 4 additions and 4 deletions

View File

@ -4500,10 +4500,6 @@ namespace libtorrent
|| m_ses.num_connections() >= m_ses.settings().connections_limit)
return;
#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_LOGGING
debug_log("resolving web seed: %s", web->url.c_str());
#endif
std::string protocol;
std::string auth;
std::string hostname;
@ -4606,6 +4602,10 @@ namespace libtorrent
return;
}
#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_LOGGING
debug_log("resolving web seed: %s", web->url.c_str());
#endif
proxy_settings const& ps = m_ses.proxy();
if (ps.type == proxy_settings::http
|| ps.type == proxy_settings::http_pw)