]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Apply suggestions from code review: typos in comments
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 25 Mar 2024 08:21:49 +0000 (09:21 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 25 Mar 2024 09:22:07 +0000 (10:22 +0100)
Co-authored-by: Fred Morcos <fm@fredmorcos.com>
pdns/recursordist/rec-main.cc
pdns/recursordist/rec-system-resolve.cc
pdns/recursordist/settings/rust/Cargo.toml

index 1013c482072e0521549d145b7379bf82cd294b04..3de3e1eb37d9b968086088bf81529bca0df9f0c5 100644 (file)
@@ -3202,7 +3202,7 @@ int main(int argc, char** argv)
     handleRuntimeDefaults(startupLog);
 
     if (auto ttl = ::arg().asNum("system-resolver-ttl"); ttl != 0) {
-      // Cannot use SyncRes::s_serverID, it is nt set yet
+      // Cannot use SyncRes::s_serverID, it is not set yet
       pdns::RecResolve::setInstanceParameters(arg()["server-id"], ttl, []() { reloadZoneConfiguration(g_yamlSettings); });
     }
 
index 5383be9704ef96631fe1fc6908f0a32f6368e636..65fde36f5509dbb702ef1ccdba8fd8470318df92 100644 (file)
@@ -92,6 +92,7 @@ std::string serverID()
 }
 } // anonymous namespace
 
+// RecResolve class members.
 std::string pdns::RecResolve::s_serverID;
 time_t pdns::RecResolve::s_ttl{0};
 std::function<void()> pdns::RecResolve::s_callback;
index b635af385c1685062f471b07d7c8ba07d5b1a8fc..c14e85d6e03fc9d6273887c8eb4fb9437f105c6c 100644 (file)
@@ -13,7 +13,7 @@ serde = { version = "1.0", features = ["derive"] }
 serde_yaml = "0.9"
 ipnet = "2.8"
 once_cell = "1.18.0"
-hostname-validator = "1.1.1" # This is temporary. PR 13819 has the infra to call C++ from, so we can arrange for DNSName::ishostname() to be called instead of importing another crate aftyer that one is merged.
+hostname-validator = "1.1.1" # This is temporary. PR 13819 has the infra to call C++ from, so we can arrange for DNSName::ishostname() to be called instead of importing another crate after that one is merged.
 
 [build-dependencies]
 cxx-build = "1.0"