mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 13:56:47 +00:00
libtorrent 1415 sync
This commit is contained in:
parent
b220064462
commit
a0fb5a12fa
@ -105,6 +105,7 @@ namespace libtorrent
|
|||||||
, num_connections(0)
|
, num_connections(0)
|
||||||
, uploads_limit(0)
|
, uploads_limit(0)
|
||||||
, connections_limit(0)
|
, connections_limit(0)
|
||||||
|
, compact_mode(false)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
enum state_t
|
enum state_t
|
||||||
@ -211,6 +212,10 @@ namespace libtorrent
|
|||||||
int num_connections;
|
int num_connections;
|
||||||
int uploads_limit;
|
int uploads_limit;
|
||||||
int connections_limit;
|
int connections_limit;
|
||||||
|
|
||||||
|
// true if the torrent is saved in compact mode
|
||||||
|
// false if it is saved in full allocation mode
|
||||||
|
bool compact_mode;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct TORRENT_EXPORT block_info
|
struct TORRENT_EXPORT block_info
|
||||||
|
@ -2713,6 +2713,8 @@ namespace libtorrent
|
|||||||
!boost::bind(&peer_connection::is_connecting
|
!boost::bind(&peer_connection::is_connecting
|
||||||
, boost::bind(&std::map<tcp::endpoint,peer_connection*>::value_type::second, _1)));
|
, boost::bind(&std::map<tcp::endpoint,peer_connection*>::value_type::second, _1)));
|
||||||
|
|
||||||
|
st.compact_mode = m_compact_mode;
|
||||||
|
|
||||||
st.num_complete = m_complete;
|
st.num_complete = m_complete;
|
||||||
st.num_incomplete = m_incomplete;
|
st.num_incomplete = m_incomplete;
|
||||||
st.paused = m_paused;
|
st.paused = m_paused;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user