forked from premiere/premiere-libtorrent
fix announce_entry python binding
This commit is contained in:
parent
38f4765ebc
commit
f01ac8f86c
|
@ -1,5 +1,6 @@
|
||||||
1.1.1 release
|
1.1.1 release
|
||||||
|
|
||||||
|
* fix bug in python binding of announce_entry
|
||||||
* fixed bug related to flag_merge_resume_http_seeds flag in add_torrent_params
|
* fixed bug related to flag_merge_resume_http_seeds flag in add_torrent_params
|
||||||
* fixed inverted priority of incoming piece suggestions
|
* fixed inverted priority of incoming piece suggestions
|
||||||
* optimize allow-fast logic
|
* optimize allow-fast logic
|
||||||
|
|
|
@ -113,10 +113,10 @@ namespace
|
||||||
|
|
||||||
int get_tier(announce_entry const& ae) { return ae.tier; }
|
int get_tier(announce_entry const& ae) { return ae.tier; }
|
||||||
void set_tier(announce_entry& ae, int v) { ae.tier = v; }
|
void set_tier(announce_entry& ae, int v) { ae.tier = v; }
|
||||||
bool get_fail_limit(announce_entry const& ae) { return ae.fail_limit; }
|
int get_fail_limit(announce_entry const& ae) { return ae.fail_limit; }
|
||||||
void set_fail_limit(announce_entry& ae, int l) { ae.fail_limit = l; }
|
void set_fail_limit(announce_entry& ae, int l) { ae.fail_limit = l; }
|
||||||
bool get_fails(announce_entry const& ae) { return ae.fails; }
|
int get_fails(announce_entry const& ae) { return ae.fails; }
|
||||||
bool get_source(announce_entry const& ae) { return ae.source; }
|
int get_source(announce_entry const& ae) { return ae.source; }
|
||||||
bool get_verified(announce_entry const& ae) { return ae.verified; }
|
bool get_verified(announce_entry const& ae) { return ae.verified; }
|
||||||
bool get_updating(announce_entry const& ae) { return ae.updating; }
|
bool get_updating(announce_entry const& ae) { return ae.updating; }
|
||||||
bool get_start_sent(announce_entry const& ae) { return ae.start_sent; }
|
bool get_start_sent(announce_entry const& ae) { return ae.start_sent; }
|
||||||
|
|
Loading…
Reference in New Issue