From 6d4f65653e6632086ad6aabe9241cdb5086bf144 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Tue, 24 Jan 2017 13:09:40 +0100 Subject: [PATCH] [master] spelling (including in a message) --- src/bin/admin/kea-admin.in | 4 ++-- src/bin/d2/d2_cfg_mgr.cc | 4 ++-- src/bin/d2/d2_config.h | 10 +++++----- src/bin/d2/d2_process.h | 4 ++-- src/bin/d2/d2_update_message.h | 6 +++--- src/bin/d2/nc_remove.h | 8 ++++---- src/bin/d2/nc_trans.cc | 4 ++-- src/bin/d2/nc_trans.h | 4 ++-- 8 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/bin/admin/kea-admin.in b/src/bin/admin/kea-admin.in index 32a27a315..34a55f355 100644 --- a/src/bin/admin/kea-admin.in +++ b/src/bin/admin/kea-admin.in @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (C) 2014-2016 Internet Systems Consortium, Inc. ("ISC") +# Copyright (C) 2014-2017 Internet Systems Consortium, Inc. ("ISC") # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -49,7 +49,7 @@ usage() { printf "\n" printf "COMMAND: Currently supported operations are:\n" printf "\n" - printf " - lease-init: Initalizes new lease database. Useful for first time installation.\n" + printf " - lease-init: Initializes new lease database. Useful for first time installation.\n" printf " - lease-version: Checks version of the existing lease database scheme. Useful\n" printf " - for checking lease DB version when preparing for an upgrade.\n" printf " - lease-upgrade: Upgrades your lease database scheme\n" diff --git a/src/bin/d2/d2_cfg_mgr.cc b/src/bin/d2/d2_cfg_mgr.cc index 0f30fbfaa..53d60c150 100644 --- a/src/bin/d2/d2_cfg_mgr.cc +++ b/src/bin/d2/d2_cfg_mgr.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2016 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2014-2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -80,7 +80,7 @@ D2CfgMgr::forwardUpdatesEnabled() { bool D2CfgMgr::reverseUpdatesEnabled() { - // Reverse updates are not enabled if no revese servers are defined. + // Reverse updates are not enabled if no reverse servers are defined. return (getD2CfgContext()->getReverseMgr()->size() > 0); } diff --git a/src/bin/d2/d2_config.h b/src/bin/d2/d2_config.h index b605193c5..5b9fa9f66 100644 --- a/src/bin/d2/d2_config.h +++ b/src/bin/d2/d2_config.h @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -213,10 +213,10 @@ public: /// @return Configuration summary in the textual format. std::string getConfigSummary() const; - /// @brief Compares two D2Paramss for equality + /// @brief Compares two D2Params's for equality bool operator == (const D2Params& other) const; - /// @brief Compares two D2Paramss for inequality + /// @brief Compares two D2Params's for inequality bool operator != (const D2Params& other) const; /// @brief Generates a string representation of the class contents. @@ -258,7 +258,7 @@ private: /// @brief Dumps the contents of a D2Params as text to an output stream /// /// @param os output stream to which text should be sent -/// @param config D2Param instnace to dump +/// @param config D2Param instance to dump std::ostream& operator<<(std::ostream& os, const D2Params& config); @@ -287,7 +287,7 @@ public: /// @brief Constructor /// /// @param name the unique label used to identify this key - /// @param algorithm the id of the encryption alogirthm this key uses. + /// @param algorithm the id of the encryption algorithm this key uses. /// Currently supported values are (case insensitive): /// -# "HMAC-MD5" /// -# "HMAC-SHA1" diff --git a/src/bin/d2/d2_process.h b/src/bin/d2/d2_process.h index a652b3acb..dd0794d19 100644 --- a/src/bin/d2/d2_process.h +++ b/src/bin/d2/d2_process.h @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -68,7 +68,7 @@ public: /// as a place to perform any derivation-specific initialization steps /// that are inapppropriate for the constructor but necessary prior to /// launch. So far, no such steps have been identified for D2, so its - /// implementantion is empty but required. + /// implementation is empty but required. /// /// @throw DProcessBaseError if the initialization fails. virtual void init(); diff --git a/src/bin/d2/d2_update_message.h b/src/bin/d2/d2_update_message.h index d9dab3e0b..db5654051 100644 --- a/src/bin/d2/d2_update_message.h +++ b/src/bin/d2/d2_update_message.h @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2015,2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -56,7 +56,7 @@ public: isc::Exception(file, line, what) {} }; -/// @brief Exception indicating that a signed, inbound message failed to verfiy +/// @brief Exception indicating that a signed, inbound message failed to verify /// /// This exception is thrown when TSIG verification of a DNS server's response /// fails. @@ -126,7 +126,7 @@ public: /// (either outgoing or incoming). /// /// This constructor is used to create an instance of either incoming or - /// outgoing DNS Update message. The boolean argument indicates wheteher it + /// outgoing DNS Update message. The boolean argument indicates whether it /// is incoming (true) or outgoing (false) message. For incoming messages /// the @c D2UpdateMessage::fromWire function is used to parse on-wire data. /// For outgoing messages, modifier functions should be used to set the diff --git a/src/bin/d2/nc_remove.h b/src/bin/d2/nc_remove.h index b9ed2c991..1584cb002 100644 --- a/src/bin/d2/nc_remove.h +++ b/src/bin/d2/nc_remove.h @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2015,2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -212,7 +212,7 @@ protected: /// post a next event of IO_COMPLETED_EVT and then invoke runModel which /// resumes execution of the state model. /// - /// When the handler is invoked with a next event of IO_COMPELTED_EVT, + /// When the handler is invoked with a next event of IO_COMPLETED_EVT, /// the DNS update status is checked and acted upon accordingly: /// /// Transitions to: @@ -254,7 +254,7 @@ protected: /// post a next event of IO_COMPLETED_EVT and then invoke runModel which /// resumes execution of the state model. /// - /// When the handler is invoked with a next event of IO_COMPELTED_EVT, + /// When the handler is invoked with a next event of IO_COMPLETED_EVT, /// the DNS update status is checked and acted upon accordingly: /// /// Transitions to: @@ -306,7 +306,7 @@ protected: /// post a next event of IO_COMPLETED_EVT and then invoke runModel which /// resumes execution of the state model. /// - /// When the handler is invoked with a next event of IO_COMPELTED_EVT, + /// When the handler is invoked with a next event of IO_COMPLETED_EVT, /// the DNS update status is checked and acted upon accordingly: /// /// Transitions to: diff --git a/src/bin/d2/nc_trans.cc b/src/bin/d2/nc_trans.cc index 793410d36..5360e66f2 100644 --- a/src/bin/d2/nc_trans.cc +++ b/src/bin/d2/nc_trans.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -132,7 +132,7 @@ NameChangeTransaction::responseString() const { stream << "OTHER"; break; default: - stream << "UKNOWNN(" + stream << "UNKOWN(" << static_cast(getDnsUpdateStatus()) << ")"; break; diff --git a/src/bin/d2/nc_trans.h b/src/bin/d2/nc_trans.h index 77f8fb3fb..f8b11b3e8 100644 --- a/src/bin/d2/nc_trans.h +++ b/src/bin/d2/nc_trans.h @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2016 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2013-2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -144,7 +144,7 @@ public: static const int NCT_DERIVED_EVENT_MIN = SM_DERIVED_EVENT_MIN + 101; //@} - /// @brief Defualt time to assign to a single DNS udpate. + /// @brief Default time to assign to a single DNS udpate. /// @todo This value will be made configurable in the very near future /// under trac3268. For now we will define it to 100 milliseconds /// so unit tests will run within a reasonable amount of time. -- GitLab