]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: resolvers: fix comment typos and wrong filenames in file headers
authorWilly Tarreau <w@1wt.eu>
Fri, 22 May 2026 06:34:31 +0000 (06:34 +0000)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 May 2026 08:57:14 +0000 (10:57 +0200)
A few asorted comment fixes for resolvers (incorrect file name etc).

include/haproxy/resolvers-t.h
include/haproxy/resolvers.h
src/resolvers.c

index 3bdf5237ed71dd086bca9cbd3fde3aa09fcb7c6b..f0c92084c236469f65281279841e456664a4f496 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * include/haproxy/dns-t.h
+ * include/haproxy/resolvers-t.h
  * This file provides structures and types for DNS.
  *
  * Copyright (C) 2014 Baptiste Assmann <bedis9@gmail.com>
@@ -281,7 +281,7 @@ enum {
                                    * matching preference was found.
                                    */
        RSLV_UPD_SRVIP_NOT_FOUND,  /* provided IP not found
-                                   * OR provided IP found and preference is not match and an IP
+                                   * OR provided IP found and preference is not matched and an IP
                                    * matching preference was found.
                                    */
        RSLV_UPD_NO_IP_FOUND,      /* no IP could be found in the response */
index ed4392a79eb75883b5375fac50b28458f3cd272e..307e7b94b7e18b71a2bc6f50b3cfa9eb1e85e899 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * include/haproxy/dns.h
+ * include/haproxy/resolvers.h
  * This file provides functions related to DNS protocol
  *
  * Copyright (C) 2014 Baptiste Assmann <bedis9@gmail.com>
index 6b13aa2f926b1c2f371e3ee12282ed32c8629989..af38ca3571591bf09cda76c279e5e6e3ffda567b 100644 (file)
@@ -226,7 +226,7 @@ struct show_resolvers_ctx {
 };
 
 /* returns the currently accepted address families as a combination of
- * RSLV_ACCEPT_IPV4 and RSLV_ACCEPT_IPV6 only. It will dynamically adapt adapt
+ * RSLV_ACCEPT_IPV4 and RSLV_ACCEPT_IPV6 only. It will dynamically adapt
  * the IPv6 status to sock_inet6_seems_reachable if RSLV_AUTO_FAMILY is set,
  * otherwise returns the relevant bits of resolv_accept_families.
  */
@@ -509,7 +509,7 @@ resolv_run_resolution(struct resolv_resolution *resolution)
                return 0;
 
        /* Check if a resolution has already been started for this server return
-        * directly to avoid resolution pill up. */
+        * directly to avoid resolution pile up. */
        if (resolution->step != RSLV_STEP_NONE)
                return 0;