Re: [PATCH] spelling fixes

2022-11-30 Thread Christopher Faulet

Le 11/30/22 à 12:24, Илья Шипицин a écrit :

hello,

yet another spelling patch.



Thanks, merged !

--
Christopher Faulet




[PATCH] spelling fixes

2022-11-30 Thread Илья Шипицин
hello,

yet another spelling patch.

cheers,
Ilya
From c12cd6be4bc937b5d708e1bd646d732b5aae2cd6 Mon Sep 17 00:00:00 2001
From: Ilya Shipitsin 
Date: Wed, 30 Nov 2022 16:22:42 +0500
Subject: [PATCH] CLEANUP: assorted typo fixes in the code and comments

This is 33rd iteration of typo fixes
---
 MAINTAINERS | 2 +-
 doc/configuration.txt   | 8 
 include/haproxy/cli-t.h | 4 ++--
 include/haproxy/cli.h   | 4 ++--
 include/haproxy/mux_fcgi-t.h| 2 +-
 include/haproxy/mux_h1-t.h  | 2 +-
 include/haproxy/quic_loss.h | 2 +-
 include/haproxy/server.h| 2 +-
 include/import/xxhash.h | 2 +-
 reg-tests/checks/4be_1srv_health_checks.vtc | 2 +-
 src/haproxy.c   | 2 +-
 src/hlua.c  | 2 +-
 src/http.c  | 2 +-
 src/http_htx.c  | 2 +-
 src/resolvers.c | 2 +-
 15 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index c56ac24a2..d4b7980ca 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -12,7 +12,7 @@ listed for a subsystem, you can simply send your changes the 
usual way, and it
 is also a sign that if you want to strengthen your skills on certain parts you
 can become yourself a maintainer of the parts you care a lot about.
 
-Please do not ask them to troubleshoot your bugs, it's not their job eventhough
+Please do not ask them to troubleshoot your bugs, it's not their job even 
though
 they may occasionally help as time permits.
 
 List of maintainers
diff --git a/doc/configuration.txt b/doc/configuration.txt
index 769714cd9..cba147c09 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -1844,9 +1844,9 @@ lua-load  [  [  [ ... ] ] ]
   way will always see 0 in the "core.thread" variable. This directive can be
   used multiple times.
 
-  args are avalaible in the lua file using the code below in the body of the
+  args are available in the lua file using the code below in the body of the
   file. Do not forget that Lua arrays start at index 1. A "local" variable
-  declared in a file is avalaible in the entire file and not avalaible on
+  declared in a file is available in the entire file and not available on
   other files.
 
  local args = table.pack(...)
@@ -14144,7 +14144,7 @@ ca-file 
   directive. But you mustn't use it unless you know what you are doing.
   Configuring it this way basically mean that the bind will accept any client
   certificate generated from one of the CA present on your system, which is
-  extremely unsecure.
+  extremely insecure.
 
 ca-ignore-err [all|,...]
   This setting is only available when support for OpenSSL was built in.
@@ -23368,7 +23368,7 @@ for the cache filter.
 
 There are two kinds of bandwidth limitation filters. The first one enforces a
 default limit and is applied per stream. The second one uses a stickiness table
-to enfore a limit equally divided between all streams sharing the same entry in
+to enforce a limit equally divided between all streams sharing the same entry 
in
 the table.
 
 In addition, for a given filter, depending on the filter keyword used, the
diff --git a/include/haproxy/cli-t.h b/include/haproxy/cli-t.h
index 5d2c07977..104b0b157 100644
--- a/include/haproxy/cli-t.h
+++ b/include/haproxy/cli-t.h
@@ -58,8 +58,8 @@ enum {
CLI_ST_PRINT_ERR,  /* display const error in cli->msg */
CLI_ST_PRINT_DYN,  /* display dynamic message in cli->err. After the 
display, free the pointer */
CLI_ST_PRINT_DYNERR, /* display dynamic error in cli->err. After the 
display, free the pointer */
-   CLI_ST_PRINT_UMSG, /* display usermsgs_ctx buffer. After the display, 
usermsgs_ctx is resetted. */
-   CLI_ST_PRINT_UMSGERR, /* display usermsgs_ctx buffer as error. After 
the display, usermsgs_ctx is resetted. */
+   CLI_ST_PRINT_UMSG, /* display usermsgs_ctx buffer. After the display, 
usermsgs_ctx is reset. */
+   CLI_ST_PRINT_UMSGERR, /* display usermsgs_ctx buffer as error. After 
the display, usermsgs_ctx is reset. */
CLI_ST_CALLBACK,   /* custom callback pointer */
 };
 
diff --git a/include/haproxy/cli.h b/include/haproxy/cli.h
index 6b049b855..32c659944 100644
--- a/include/haproxy/cli.h
+++ b/include/haproxy/cli.h
@@ -109,7 +109,7 @@ static inline int cli_dynerr(struct appctx *appctx, char 
*err)
 }
 
 /* updates the CLI's context to log messages stored in thread-local
- * usermsgs_ctx at  level. usermsgs_ctx will be resetted when done.
+ * usermsgs_ctx at  level. usermsgs_ctx will be reset when done.
  * This is for use in CLI parsers to deal with quick response messages.
  *
  * Always returns 1.
@@ -124,7 +124,7 @@ static inline int cli_umsg(struct appctx *appctx, int 
severity)
 }
 
 /* updates the CLI's context to log messages stored in