Browse Source

spelling: argument

Josh Soref 7 years ago
parent
commit
1475af621f
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/lib/dhcpsrv/tests/alloc_engine_hooks_unittest.cc
  2. 1 1
      src/lib/dns/message.h

+ 2 - 2
src/lib/dhcpsrv/tests/alloc_engine_hooks_unittest.cc

@@ -214,7 +214,7 @@ TEST_F(HookAllocEngine6Test, lease6_select) {
 
     // Check if all expected parameters are reported.  The order needs to be
     // alphabetical to match the order returned by
-    // CallbackHandle::getAgrumentNames()
+    // CallbackHandle::getArgumentNames()
     vector<string> expected_argument_names;
     expected_argument_names.push_back("fake_allocation");
     expected_argument_names.push_back("lease6");
@@ -513,7 +513,7 @@ TEST_F(HookAllocEngine4Test, lease4_select) {
 
     // Check if all expected parameters are reported.  The order needs to be
     // alphabetical to match the order returned by
-    // CallbackHandle::getAgrumentNames()
+    // CallbackHandle::getArgumentNames()
     vector<string> expected_argument_names;
     expected_argument_names.push_back("fake_allocation");
     expected_argument_names.push_back("lease4");

+ 1 - 1
src/lib/dns/message.h

@@ -476,7 +476,7 @@ public:
                   const RRClass& rrclass, const RRType& rrtype) const;
 
     /// \brief Determine whether the given section already has an RRset
-    /// matching the one pointed to by the argumet
+    /// matching the one pointed to by the argument
     ///
     /// \c section must be a valid constant of the \c Section type;
     /// otherwise, an exception of class \c OutOfRange will be thrown.