]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
resolve: fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 16 Nov 2025 02:12:23 +0000 (11:12 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 16 Nov 2025 02:13:56 +0000 (11:13 +0900)
Follow-up for 8209f4adcde08d225f56269e608ccd5f6704cd70.

src/resolve/resolved-hook.c
src/shared/varlink-io.systemd.Resolve.Hook.c

index 4a688a8f319bf543c0aee9f45ed237ca1c7823c3..fb8342ecd6a7470b28ec975bf10d3fd7076311dd 100644 (file)
@@ -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");
index a172a95a67b506a27614772fde0aa3eef1a8bc15..6fe847ec37cde422f3c9387bb681179b1e69025d 100644 (file)
@@ -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);