From: Francis Dupont Date: Tue, 24 Jan 2017 19:14:22 +0000 (+0100) Subject: [5095] spelling X-Git-Tag: trac3590_base~15^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dc63294c186ed1557a604131d42cc1bf8f4ce012;p=thirdparty%2Fkea.git [5095] spelling --- diff --git a/src/lib/hooks/callout_manager.cc b/src/lib/hooks/callout_manager.cc index d41f7df443..48910e2ca1 100644 --- a/src/lib/hooks/callout_manager.cc +++ b/src/lib/hooks/callout_manager.cc @@ -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 @@ -184,7 +184,7 @@ CalloutManager::callCallouts(int hook_index, CalloutHandle& callout_handle) { .arg(server_hooks_.getName(current_hook_)) .arg(stopwatch.logFormatTotalDuration()); - // Reset the current hook and library indexs to an invalid value to + // Reset the current hook and library indexes to an invalid value to // catch any programming errors. current_hook_ = -1; current_library_ = -1; diff --git a/src/lib/hooks/library_handle.h b/src/lib/hooks/library_handle.h index a94ad66fdf..2fe6f0e125 100644 --- a/src/lib/hooks/library_handle.h +++ b/src/lib/hooks/library_handle.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 @@ -135,10 +135,10 @@ public: /// } ///] /// - /// The first library has no parameters, so regardles of the name + /// The first library has no parameters, so regardless of the name /// specified, for that library getParameter will always return NULL. /// - /// For the second paramter, depending the following calls will return: + /// For the second parameter, depending the following calls will return: /// - x = getParameter("mail") will return instance of /// isc::data::StringElement. The content can be accessed with /// x->stringValue() and will return std::string. diff --git a/src/lib/hooks/library_manager_collection.h b/src/lib/hooks/library_manager_collection.h index fb3ce96c43..73587066a9 100644 --- a/src/lib/hooks/library_manager_collection.h +++ b/src/lib/hooks/library_manager_collection.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 @@ -98,7 +98,7 @@ public: /// /// Returns a callout manager that can be used with this set of loaded /// libraries (even if the number of loaded libraries is zero). This - /// method may only be caslled after loadLibraries() has been called. + /// method may only be called after loadLibraries() has been called. /// /// @return Pointer to a callout manager for this set of libraries. /// diff --git a/src/lib/hooks/tests/hooks_manager_unittest.cc b/src/lib/hooks/tests/hooks_manager_unittest.cc index e8397a4362..72e475d776 100644 --- a/src/lib/hooks/tests/hooks_manager_unittest.cc +++ b/src/lib/hooks/tests/hooks_manager_unittest.cc @@ -681,7 +681,7 @@ TEST_F(HooksManagerTest, validateLibraries) { // This test verifies that the specified parameters are accessed properly. TEST_F(HooksManagerTest, LibraryParameters) { - // Prepare paramters for the callout parameters library. + // Prepare parameters for the callout parameters library. ElementPtr params = Element::createMap(); params->set("svalue", Element::create("string value")); params->set("ivalue", Element::create(42)); diff --git a/src/lib/hooks/tests/library_manager_unittest.cc b/src/lib/hooks/tests/library_manager_unittest.cc index 367ceb9430..3882bb55c2 100644 --- a/src/lib/hooks/tests/library_manager_unittest.cc +++ b/src/lib/hooks/tests/library_manager_unittest.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 @@ -572,7 +572,7 @@ TEST_F(LibraryManagerTest, libraryLoggerSetup) { EXPECT_TRUE(lib_manager.loadLibrary()); // After loading the library, the global logging dictionary should - // contain log messages registerd for this library. + // contain log messages registered for this library. const MessageDictionaryPtr& dict = MessageDictionary::globalDictionary(); EXPECT_EQ("basic callout load %1", dict->getText("BCL_LOAD_START")); EXPECT_EQ("basic callout load end", dict->getText("BCL_LOAD_END"));