forked from premiere/premiere-libtorrent
fix build issue with statistics enabled
This commit is contained in:
parent
a18649dc9b
commit
ec30fe5f9b
|
@ -3164,7 +3164,7 @@ namespace aux {
|
||||||
if (p->is_interesting()) ++peers_down_interesting;
|
if (p->is_interesting()) ++peers_down_interesting;
|
||||||
if (p->send_buffer_size() > 100 || !p->upload_queue().empty())
|
if (p->send_buffer_size() > 100 || !p->upload_queue().empty())
|
||||||
++peers_up_requests;
|
++peers_up_requests;
|
||||||
if (p->endgame()) ++num_endgame_peers;
|
if (p->endgame()) ++num_end_game_peers;
|
||||||
|
|
||||||
int dl_bucket = 0;
|
int dl_bucket = 0;
|
||||||
int dl_rate = p->statistics().download_payload_rate();
|
int dl_rate = p->statistics().download_payload_rate();
|
||||||
|
|
Loading…
Reference in New Issue