diff --git a/include/opendht/utils.h b/include/opendht/utils.h index a5f676c007b6d897ffc792dc32ed01426e17cf07..0b892fd1539e2895310573f119b61406ca4fb00a 100644 --- a/include/opendht/utils.h +++ b/include/opendht/utils.h @@ -61,7 +61,7 @@ void erase_if(std::map<Key, Item>& map, const Condition& condition) class DhtException : public std::runtime_error { public: DhtException(const std::string &str = "") : - std::runtime_error("DhtException occured: " + str) {} + std::runtime_error("DhtException occurred: " + str) {} }; diff --git a/src/securedht.cpp b/src/securedht.cpp index aafda7ee042eacefa9a95fb91b9073754bf06cd6..2c37ad6e85e3120f7f7672f8590630b0258b242d 100644 --- a/src/securedht.cpp +++ b/src/securedht.cpp @@ -99,7 +99,7 @@ SecureDht::secureType(ValueType&& type) return false; } else - DHT_LOG.WARN("Signature verification succeded"); + DHT_LOG.WARN("Signature verification succeeded"); } return type.storePolicy(id, v, nid, a, al); };