forked from premiere/premiere-libtorrent
the proper fix
This commit is contained in:
parent
d5e891c87c
commit
5adb8d5533
|
@ -247,7 +247,7 @@ namespace libtorrent
|
|||
, times_in_row(times)
|
||||
, status_code(status)
|
||||
, error(e)
|
||||
, msg(msg)
|
||||
, msg(m)
|
||||
{
|
||||
TORRENT_ASSERT(!url.empty());
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue