Merge pull request #520 from aldenml/documentation-typos

Documentation typos
This commit is contained in:
Arvid Norberg 2016-03-04 16:10:04 -05:00
commit ead9b2b02a
4 changed files with 4 additions and 4 deletions

View File

@ -290,7 +290,7 @@ namespace libtorrent
public:
// in debug mode this is set to false by bdecode to indicate that the
// program has not yet queried the type of this entry, and sould not
// program has not yet queried the type of this entry, and should not
// assume that it has a certain type. This is asserted in the accessor
// functions. This does not apply if exceptions are used.
mutable boost::uint8_t m_type_queried:1;

View File

@ -90,7 +90,7 @@ struct key_desc_t
// generate an error response message
void TORRENT_EXPORT incoming_error(entry& e, char const* msg, int error_code = 203);
// given a redundent name to avoid clashing with libtorrent::detail
// given a redundant name to avoid clashing with libtorrent::detail
namespace dht_detail {
bool TORRENT_EXPORT verify_message(bdecode_node const& msg, key_desc_t const desc[]

View File

@ -89,7 +89,7 @@ namespace libtorrent
// a call related to bittorrent protocol encryption failed
op_encryption,
// an attempt to connect a socket failed
// an attempt to connect a socket failed
op_connect,
// establishing an SSL connection failed

View File

@ -152,7 +152,7 @@ namespace
}
}
// return true of the first argument is a better canidate for removal, i.e.
// return true of the first argument is a better candidate for removal, i.e.
// less important to keep
struct immutable_item_comparator
{