From: Josh Soref Date: Sun, 23 Jul 2017 16:07:00 +0000 (-0400) Subject: spelling: database X-Git-Tag: trac5124a_base~35^2~170 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=304db582a8f327057433e3beafa30d1072ea626e;p=thirdparty%2Fkea.git spelling: database --- diff --git a/src/lib/dhcpsrv/host_data_source_factory.cc b/src/lib/dhcpsrv/host_data_source_factory.cc index 380d6c8a3b..d19d63dc14 100644 --- a/src/lib/dhcpsrv/host_data_source_factory.cc +++ b/src/lib/dhcpsrv/host_data_source_factory.cc @@ -47,7 +47,7 @@ HostDataSourceFactory::create(const std::string& dbaccess) { DatabaseConnection::ParameterMap parameters = DatabaseConnection::parse(dbaccess); - // Get the databaase type and open the corresponding database + // Get the database type and open the corresponding database DatabaseConnection::ParameterMap::iterator it = parameters.find("type"); if (it == parameters.end()) { isc_throw(InvalidParameter, "Host database configuration does not " diff --git a/src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc b/src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc index ce1861d0b7..a7fb66200b 100644 --- a/src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc +++ b/src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc @@ -513,7 +513,7 @@ GenericHostDataSourceTest::testReadOnlyDatabase(const char* valid_db_type) { ASSERT_TRUE(hdsptr_); // The database is initially opened in "read-write" mode. We can - // insert some data to the databse. + // insert some data to the database. HostPtr host = initializeHost6("2001:db8::1", Host::IDENT_DUID, false); ASSERT_TRUE(host); ASSERT_NO_THROW(hdsptr_->add(host));