diff --git a/src/torrent.cpp b/src/torrent.cpp index 6733f873e..866719db0 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -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)