forked from premiere/premiere-libtorrent
fixed url-seed bug causing only a single web seed to be connected
This commit is contained in:
parent
578fbccceb
commit
5164c42a00
|
@ -106,7 +106,7 @@ namespace libtorrent
|
||||||
{ return url == e.url && type == e.type; }
|
{ return url == e.url && type == e.type; }
|
||||||
|
|
||||||
bool operator<(web_seed_entry const& e) const
|
bool operator<(web_seed_entry const& e) const
|
||||||
{ return url < e.url && type < e.type; }
|
{ return url < e.url ? true : type < e.type; }
|
||||||
};
|
};
|
||||||
|
|
||||||
namespace fs = boost::filesystem;
|
namespace fs = boost::filesystem;
|
||||||
|
|
Loading…
Reference in New Issue