Merge pull request #520 from aldenml/documentation-typos
Documentation typos
This commit is contained in:
commit
ead9b2b02a
|
@ -290,7 +290,7 @@ namespace libtorrent
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// in debug mode this is set to false by bdecode to indicate that the
|
// 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
|
// assume that it has a certain type. This is asserted in the accessor
|
||||||
// functions. This does not apply if exceptions are used.
|
// functions. This does not apply if exceptions are used.
|
||||||
mutable boost::uint8_t m_type_queried:1;
|
mutable boost::uint8_t m_type_queried:1;
|
||||||
|
|
|
@ -90,7 +90,7 @@ struct key_desc_t
|
||||||
// generate an error response message
|
// generate an error response message
|
||||||
void TORRENT_EXPORT incoming_error(entry& e, char const* msg, int error_code = 203);
|
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 {
|
namespace dht_detail {
|
||||||
|
|
||||||
bool TORRENT_EXPORT verify_message(bdecode_node const& msg, key_desc_t const desc[]
|
bool TORRENT_EXPORT verify_message(bdecode_node const& msg, key_desc_t const desc[]
|
||||||
|
|
|
@ -89,7 +89,7 @@ namespace libtorrent
|
||||||
// a call related to bittorrent protocol encryption failed
|
// a call related to bittorrent protocol encryption failed
|
||||||
op_encryption,
|
op_encryption,
|
||||||
|
|
||||||
// an attempt to connect a socket failed
|
// an attempt to connect a socket failed
|
||||||
op_connect,
|
op_connect,
|
||||||
|
|
||||||
// establishing an SSL connection failed
|
// establishing an SSL connection failed
|
||||||
|
|
|
@ -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
|
// less important to keep
|
||||||
struct immutable_item_comparator
|
struct immutable_item_comparator
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue