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)
|
, times_in_row(times)
|
||||||
, status_code(status)
|
, status_code(status)
|
||||||
, error(e)
|
, error(e)
|
||||||
, msg(msg)
|
, msg(m)
|
||||||
{
|
{
|
||||||
TORRENT_ASSERT(!url.empty());
|
TORRENT_ASSERT(!url.empty());
|
||||||
}
|
}
|
||||||
|
|
|
@ -144,7 +144,7 @@ namespace libtorrent
|
||||||
, char const* msg, int interval, int min_interval)
|
, char const* msg, int interval, int min_interval)
|
||||||
{
|
{
|
||||||
boost::shared_ptr<request_callback> cb = requester();
|
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);
|
, interval == 0 ? min_interval : interval);
|
||||||
close();
|
close();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue