forked from premiere/premiere-libtorrent
minor logging improvement
This commit is contained in:
parent
e332167ddd
commit
b889bc6dc6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue