the proper fix

This commit is contained in:
Arvid Norberg 2010-03-02 03:55:47 +00:00
parent d5e891c87c
commit 5adb8d5533
2 changed files with 2 additions and 2 deletions

View File

@ -247,7 +247,7 @@ namespace libtorrent
, times_in_row(times)
, status_code(status)
, error(e)
, msg(msg)
, msg(m)
{
TORRENT_ASSERT(!url.empty());
}

View File

@ -144,7 +144,7 @@ namespace libtorrent
, char const* msg, int interval, int min_interval)
{
boost::shared_ptr<request_callback> cb = requester();
if (cb) cb->tracker_request_error(m_req, code, ec, msg ? msg : ""
if (cb) cb->tracker_request_error(m_req, code, ec, msg
, interval == 0 ? min_interval : interval);
close();
}