fixed a bunch of sloppy typos

This commit is contained in:
Arvid Norberg 2010-10-29 02:42:41 +00:00
parent 9b323c372d
commit f84cc340df
4 changed files with 6 additions and 6 deletions

View File

@ -137,7 +137,7 @@ namespace libtorrent
, auto_upload_slots(true) , auto_upload_slots(true)
, auto_upload_slots_rate_based(true) , auto_upload_slots_rate_based(true)
#endif #endif
, choking_algorithm(fixed_slot_choker) , choking_algorithm(fixed_slots_choker)
, seed_choking_algorithm(round_robin) , seed_choking_algorithm(round_robin)
, use_parole_mode(true) , use_parole_mode(true)
, cache_size(1024) , cache_size(1024)

View File

@ -237,9 +237,9 @@ namespace libtorrent
bool allows_peers() const { return m_allow_peers; } bool allows_peers() const { return m_allow_peers; }
bool is_torrent_paused() const { return !m_allow_peers; } bool is_torrent_paused() const { return !m_allow_peers; }
void force_recheck(); void force_recheck();
void save_resume_data(); void save_resume_data(int flags);
bool need_save_resume_data(int flags = 0) const bool need_save_resume_data() const
{ {
// save resume data every 15 minutes regardless, just to // save resume data every 15 minutes regardless, just to
// keep stats up to date // keep stats up to date

View File

@ -478,7 +478,7 @@ namespace libtorrent
void force_recheck() const; void force_recheck() const;
enum save_resume_flags_t { flush_disk_cache = 1 }; enum save_resume_flags_t { flush_disk_cache = 1 };
void save_resume_data(int flags) const; void save_resume_data(int flags = 0) const;
bool need_save_resume_data() const; bool need_save_resume_data() const;
bool is_auto_managed() const; bool is_auto_managed() const;

View File

@ -395,10 +395,10 @@ namespace libtorrent
TORRENT_ASYNC_CALL(flush_cache); TORRENT_ASYNC_CALL(flush_cache);
} }
void torrent_handle::save_resume_data() const void torrent_handle::save_resume_data(int f) const
{ {
INVARIANT_CHECK; INVARIANT_CHECK;
TORRENT_ASYNC_CALL(save_resume_data); TORRENT_ASYNC_CALL1(save_resume_data, f);
} }
bool torrent_handle::need_save_resume_data() const bool torrent_handle::need_save_resume_data() const