Documentation typos

This commit is contained in:
Alden Torres 2016-01-26 12:21:25 -05:00
parent 764c8a7f0c
commit 9f3d13281f
5 changed files with 10 additions and 10 deletions

View File

@ -850,9 +850,9 @@ namespace libtorrent
tcp::endpoint m_listen_interface;
// the network interfaces outgoing connections are opened through. If
// there is more then one, they are used in a round-robin fasion
// there is more then one, they are used in a round-robin fashion
// each element is a device name or IP address (in string form) and
// a port number. The port determins which port to bind the listen
// a port number. The port determines which port to bind the listen
// socket to, and the device or IP determines which network adapter
// to be used. If no adapter with the specified name exists, the listen
// socket fails.

View File

@ -237,9 +237,9 @@ namespace libtorrent
// called once per second
virtual void on_tick() {}
// called when choosing peers to optimisticly unchoke
// called when choosing peers to optimistically unchoke
// peer's will be unchoked in the order they appear in the given
// vector which is initiallity sorted by when they were last
// vector which is initially sorted by when they were last
// optimistically unchoked.
// if the plugin returns true then the ordering provided will be
// used and no other plugin will be allowed to change it.

View File

@ -52,7 +52,7 @@ namespace libtorrent
#ifndef TORRENT_NO_DEPRECATE
// constructor function for the metadata transfer extension. This
// extension has been superceded by the ut_metadata extension and
// extension has been superseded by the ut_metadata extension and
// is deprecated. It can be either be passed in the
// add_torrent_params::extensions field, or
// via torrent_handle::add_extension().

View File

@ -819,7 +819,7 @@ namespace libtorrent
// the job and either write it to disk or insert it in the write
// cache. When this limit is reached, the peer connections will stop
// reading data from their sockets, until the disk thread catches up.
// Setting this too low will severly limit your download rate.
// Setting this too low will severely limit your download rate.
max_queued_disk_bytes,
// the number of seconds to wait for a handshake response from a peer.
@ -1119,7 +1119,7 @@ namespace libtorrent
// read cache when a read cache miss occurs. Setting this to 0 is
// essentially the same thing as disabling read cache. The number of
// blocks read into the read cache is always capped by the piece
// boundry.
// boundary.
//
// When a piece in the write cache has ``write_cache_line_size``
// contiguous blocks in it, they will be flushed. Setting this to 1
@ -1186,7 +1186,7 @@ namespace libtorrent
// reciprocation rate.
//
// ``increase_est_reciprocation_rate`` specifies how many percent the
// extimated reciprocation rate should be increased by each unchoke
// estimated reciprocation rate should be increased by each unchoke
// interval a peer is still choking us back. This defaults to 20%.
// This only applies to the BitTyrant choker.
//
@ -1200,7 +1200,7 @@ namespace libtorrent
// the max number of peers we accept from pex messages from a single
// peer. this limits the number of concurrent peers any of our peers
// claims to be connected to. If they clain to be connected to more
// claims to be connected to. If they claim to be connected to more
// than this, we'll ignore any peer that exceeds this limit
max_pex_peers,

View File

@ -889,7 +889,7 @@ namespace libtorrent
, std::string const& dh_params);
// Returns the storage implementation for this torrent. This depends on the
// storage contructor function that was passed to add_torrent.
// storage constructor function that was passed to add_torrent.
storage_interface* get_storage_impl() const;
// Returns a pointer to the torrent_info object associated with this