From 8c236eca78052d1b8dba8bf22ed12b621a5b609d Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sun, 16 Nov 2025 11:12:23 +0900 Subject: [PATCH] resolve: fix typo Follow-up for 8209f4adcde08d225f56269e608ccd5f6704cd70. --- src/resolve/resolved-hook.c | 4 ++-- src/shared/varlink-io.systemd.Resolve.Hook.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/resolve/resolved-hook.c b/src/resolve/resolved-hook.c index 4a688a8f319..fb8342ecd6a 100644 --- a/src/resolve/resolved-hook.c +++ b/src/resolve/resolved-hook.c @@ -127,7 +127,7 @@ static int on_filter_reply( /* When we are are disconnected, that's fine, maybe the other side wants to clean up * open connections every now and then, or is being restarted and thus a moment * offline. Try to reconnect immediately to recover. However, a service that - * continously fails should not be able to get us into a busy loop, hence we apply a + * continuously fails should not be able to get us into a busy loop, hence we apply a * ratelimit, and when it is hit we stop reconnecting. */ if (ratelimit_below(&h->reconnect_ratelimit)) { log_debug("Connection terminated while querying filter of hook '%s', trying to reconnect.", h->socket_path); @@ -227,7 +227,7 @@ static int hook_acquire_filter(Hook *h) { if (r <= 0) return r; - /* Turn off timeout, after all we want to continously monitor filter changes */ + /* Turn off timeout, after all we want to continuously monitor filter changes */ r = sd_varlink_set_relative_timeout(v, UINT64_MAX); if (r < 0) return log_error_errno(r, "Failed to disable timeout on Varlink connection %m"); diff --git a/src/shared/varlink-io.systemd.Resolve.Hook.c b/src/shared/varlink-io.systemd.Resolve.Hook.c index a172a95a67b..6fe847ec37c 100644 --- a/src/shared/varlink-io.systemd.Resolve.Hook.c +++ b/src/shared/varlink-io.systemd.Resolve.Hook.c @@ -47,7 +47,7 @@ static SD_VARLINK_DEFINE_METHOD( "as one. Partial success/failure combinations are not supported."), SD_VARLINK_DEFINE_INPUT_BY_TYPE(question, Question, SD_VARLINK_ARRAY), SD_VARLINK_FIELD_COMMENT("A DNS response code. If a hook sets this return parameter further processing of the lookup via " - "regular proocols such as DNS, LLMNR, mDNS is skipped, and the return code returned immediately. " + "regular protocols such as DNS, LLMNR, mDNS is skipped, and the return code returned immediately. " "In other words, if a hook intends to let the request pass to normal resolution, it should not " "set this return parameter."), SD_VARLINK_DEFINE_OUTPUT(rcode, SD_VARLINK_INT, SD_VARLINK_NULLABLE), @@ -76,6 +76,6 @@ SD_VARLINK_DEFINE_INTERFACE( "services can send updates to the filter at any time. Whenever a further reply is sent the " "filter configured therein fully replaces any previously communicated filter."), &vl_method_QueryFilter, - SD_VARLINK_SYMBOL_COMMENT("Sent whenever a resolution request is made. This typically takes the filter paramaters returned " + SD_VARLINK_SYMBOL_COMMENT("Sent whenever a resolution request is made. This typically takes the filter parameters returned " "by QueryFilter() into account, but this is not guaranteed."), &vl_method_ResolveRecord); -- 2.47.3