fixed bug where tracker authentication was not sent to the tracker

This commit is contained in:
Arvid Norberg
2005-02-23 09:13:42 +00:00
parent 5c5aabe7b1
commit d32f0ba755
4 changed files with 20 additions and 15 deletions

View File

@@ -359,8 +359,8 @@ namespace libtorrent
void tracker_manager::queue_request(
tracker_request req
, boost::weak_ptr<request_callback> c
, std::string const& password)
, std::string const& auth
, boost::weak_ptr<request_callback> c)
{
assert(req.num_want >= 0);
if (req.event == tracker_request::stopped)
@@ -425,7 +425,7 @@ namespace libtorrent
, request_string
, c
, m_settings
, password));
, auth));
}
else if (protocol == "udp")
{