merged fix from RC_0_16
This commit is contained in:
parent
96c62bc4b8
commit
5033960045
|
@ -1498,6 +1498,7 @@ int main(int argc, char* argv[])
|
|||
if (std::strstr(i->c_str(), "magnet:") == i->c_str())
|
||||
{
|
||||
add_torrent_params tmp;
|
||||
ec.clear();
|
||||
parse_magnet_uri(*i, tmp, ec);
|
||||
|
||||
if (ec) continue;
|
||||
|
|
|
@ -143,6 +143,7 @@ namespace libtorrent
|
|||
|
||||
void parse_magnet_uri(std::string const& uri, add_torrent_params& p, error_code& ec)
|
||||
{
|
||||
ec.clear();
|
||||
std::string name;
|
||||
std::string tracker;
|
||||
|
||||
|
|
Loading…
Reference in New Issue