forked from premiere/premiere-libtorrent
*** empty log message ***
This commit is contained in:
parent
171988f2d7
commit
1f87a19d1c
|
@ -69,8 +69,8 @@ namespace libtorrent
|
|||
int m_val;
|
||||
};
|
||||
|
||||
const static seek_mode begin;
|
||||
const static seek_mode end;
|
||||
static const seek_mode begin;
|
||||
static const seek_mode end;
|
||||
|
||||
class open_mode
|
||||
{
|
||||
|
@ -100,8 +100,8 @@ namespace libtorrent
|
|||
int m_mask;
|
||||
};
|
||||
|
||||
const static open_mode in;
|
||||
const static open_mode out;
|
||||
static const open_mode in;
|
||||
static const open_mode out;
|
||||
|
||||
file();
|
||||
file(boost::filesystem::path const& p, open_mode m);
|
||||
|
|
|
@ -328,7 +328,7 @@ namespace libtorrent
|
|||
num_supported_messages
|
||||
};
|
||||
|
||||
const static message_handler m_message_handler[num_supported_messages];
|
||||
static const message_handler m_message_handler[num_supported_messages];
|
||||
|
||||
int m_packet_size;
|
||||
int m_recv_pos;
|
||||
|
|
|
@ -921,7 +921,7 @@ namespace libtorrent
|
|||
// this is called when we are choked by a peer
|
||||
// i.e. a peer lets us know that we will not receive
|
||||
// anything for a while
|
||||
void policy::choked(peer_connection& c)
|
||||
void policy::choked(peer_connection&)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -963,7 +963,7 @@ namespace libtorrent
|
|||
// TODO: we must be able to get interested
|
||||
// in a peer again, if a piece fails that
|
||||
// this peer has.
|
||||
void policy::block_finished(peer_connection& c, piece_block b)
|
||||
void policy::block_finished(peer_connection& c, piece_block)
|
||||
{
|
||||
// if the peer hasn't choked us, ask for another piece
|
||||
if (!c.has_peer_choked())
|
||||
|
@ -982,7 +982,7 @@ namespace libtorrent
|
|||
}
|
||||
|
||||
// called when a peer is interested in us
|
||||
void policy::interested(peer_connection& c)
|
||||
void policy::interested(peer_connection&)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -985,8 +985,9 @@ namespace libtorrent
|
|||
char const* tracker_url
|
||||
, sha1_hash const& info_hash
|
||||
, boost::filesystem::path const& save_path
|
||||
, entry const& resume_data)
|
||||
, entry const&)
|
||||
{
|
||||
// TODO: support resume data in this case
|
||||
assert(!save_path.empty());
|
||||
{
|
||||
// lock the checker_thread
|
||||
|
|
|
@ -280,7 +280,7 @@ namespace libtorrent
|
|||
}
|
||||
|
||||
void torrent::tracker_response(
|
||||
tracker_request const& r
|
||||
tracker_request const&
|
||||
, std::vector<peer_entry>& peer_list
|
||||
, int interval
|
||||
, int complete
|
||||
|
@ -1286,7 +1286,7 @@ namespace libtorrent
|
|||
// TODO: with some response codes, we should just consider
|
||||
// the tracker as a failure and not retry
|
||||
// it anymore
|
||||
void torrent::tracker_request_error(tracker_request const& r
|
||||
void torrent::tracker_request_error(tracker_request const&
|
||||
, int response_code, const std::string& str)
|
||||
{
|
||||
#ifdef TORRENT_VERBOSE_LOGGING
|
||||
|
|
Loading…
Reference in New Issue