forked from premiere/premiere-libtorrent
*** empty log message ***
This commit is contained in:
parent
62d633e03f
commit
15bf2519f1
2
Jamfile
2
Jamfile
|
@ -34,7 +34,7 @@ REQUIREMENTS =
|
||||||
<toolset>darwin:<cxxflags>-Wno-unused-variable
|
<toolset>darwin:<cxxflags>-Wno-unused-variable
|
||||||
;
|
;
|
||||||
|
|
||||||
USAGE_REQIREMENTS =
|
USAGE_REQUIREMENTS =
|
||||||
<include>./include
|
<include>./include
|
||||||
<include>$(BOOST_ROOT)
|
<include>$(BOOST_ROOT)
|
||||||
<variant>release:<define>NDEBUG
|
<variant>release:<define>NDEBUG
|
||||||
|
|
|
@ -142,7 +142,7 @@ namespace libtorrent
|
||||||
|
|
||||||
void tick();
|
void tick();
|
||||||
void queue_request(
|
void queue_request(
|
||||||
tracker_request const& r
|
tracker_request r
|
||||||
, request_callback* c = 0
|
, request_callback* c = 0
|
||||||
, std::string const& password = "");
|
, std::string const& password = "");
|
||||||
void abort_request(request_callback* c);
|
void abort_request(request_callback* c);
|
||||||
|
|
|
@ -303,7 +303,7 @@ namespace libtorrent
|
||||||
}
|
}
|
||||||
|
|
||||||
void tracker_manager::queue_request(
|
void tracker_manager::queue_request(
|
||||||
tracker_request const& req
|
tracker_request req
|
||||||
, request_callback* c
|
, request_callback* c
|
||||||
, std::string const& password)
|
, std::string const& password)
|
||||||
{
|
{
|
||||||
|
@ -318,8 +318,8 @@ namespace libtorrent
|
||||||
int port = 80;
|
int port = 80;
|
||||||
|
|
||||||
// PARSE URL
|
// PARSE URL
|
||||||
std::string::const_iterator start = req.url.begin();
|
std::string::iterator start = req.url.begin();
|
||||||
std::string::const_iterator end
|
std::string::iterator end
|
||||||
= std::find(req.url.begin(), req.url.end(), ':');
|
= std::find(req.url.begin(), req.url.end(), ':');
|
||||||
protocol = std::string(start, end);
|
protocol = std::string(start, end);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue