diff --git a/include/libtorrent/entry.hpp b/include/libtorrent/entry.hpp index 5cbe4c269..f16ca0814 100644 --- a/include/libtorrent/entry.hpp +++ b/include/libtorrent/entry.hpp @@ -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; diff --git a/include/libtorrent/kademlia/msg.hpp b/include/libtorrent/kademlia/msg.hpp index 607eab4f8..d82b91a47 100644 --- a/include/libtorrent/kademlia/msg.hpp +++ b/include/libtorrent/kademlia/msg.hpp @@ -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[] diff --git a/include/libtorrent/operations.hpp b/include/libtorrent/operations.hpp index 9cb0bad45..524b6648e 100644 --- a/include/libtorrent/operations.hpp +++ b/include/libtorrent/operations.hpp @@ -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 diff --git a/src/kademlia/dht_storage.cpp b/src/kademlia/dht_storage.cpp index ddf8e26fd..57d2fd13c 100644 --- a/src/kademlia/dht_storage.cpp +++ b/src/kademlia/dht_storage.cpp @@ -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 {