]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: assorted typo fixes in the code and comments
authorIlya Shipitsin <chipitsine@gmail.com>
Sun, 14 Apr 2024 07:23:52 +0000 (09:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 17 Apr 2024 09:14:44 +0000 (11:14 +0200)
This is 41st iteration of typo fixes

doc/configuration.txt
include/haproxy/cli-t.h
include/haproxy/session.h
include/haproxy/vecpair.h
reg-tests/ssl/ocsp_auto_update.vtc
src/haproxy.c
src/linuxcap.c
src/log.c
src/ring.c

index ecd4715ce97a14fcf8756215af548b81b0ff0ce6..a5176adb740a9310b1872b6313ea300a5065804d 100644 (file)
@@ -6739,7 +6739,7 @@ fullconn <conns>
 
 guid <string>
   Specify a case-sensitive global unique ID for this proxy. This must be unique
-  accross all haproxy configuration on every object types. Format is left
+  across all haproxy configuration on every object types. Format is left
   unspecified to allow the user to select its naming policy. The only
   restriction is its length which cannot be greater than 127 characters. All
   alphanumerical values and '.', ':', '-' and '_' characters are valid.
@@ -17000,7 +17000,7 @@ force-tlsv13
 
 guid <string>
   Specify a case-sensitive global unique ID for this server. This must be
-  unique accross all haproxy configuration on every object types. See "guid"
+  unique across all haproxy configuration on every object types. See "guid"
   proxy keyword description for more information on its format.
 
 id <value>
index 6e0abae57d3bf59a70badda5ac64d14edc855fc3..8555ea8c79568b4abeb2f2b39c5f0d47cb82abf2 100644 (file)
@@ -56,7 +56,7 @@ enum {
        CLI_ST_INIT = 0,   /* initial state, must leave to zero ! */
        CLI_ST_END,        /* final state, let's close */
        CLI_ST_GETREQ,     /* wait for a request */
-       CLI_ST_PARSEREQ,   /* pase a request */
+       CLI_ST_PARSEREQ,   /* parse a request */
        CLI_ST_OUTPUT,     /* all states after this one are responses */
        CLI_ST_PROMPT,     /* display the prompt (first output, same code) */
        CLI_ST_PRINT,      /* display const message in cli->msg */
index b70a5a89c2620d6440d0cc6fcc282dac83a7cce8..a9cea62ed215169b5af4834928db7ee46063fa4d 100644 (file)
@@ -209,7 +209,7 @@ static inline int session_add_conn(struct session *sess, struct connection *conn
        }
        LIST_APPEND(&pconns->conn_list, &conn->sess_el);
 
-       /* Ensure owner is set for connection. It could have been resetted
+       /* Ensure owner is set for connection. It could have been reset
         * prior on after a session_add_conn() failure.
         */
        conn->owner = sess;
index f5337af6a690420f277cbcce9e1fafd30e1af621..e49570636a999d16dc106778303ec2cffc4044a6 100644 (file)
@@ -436,7 +436,7 @@ static inline size_t vp_get_varint_ofs(struct ist *v1, struct ist *v2, size_t of
 
        vp_skip(v1, v2, ofs);
 
-       /* let's see where we start from. The wraping area only concerns the
+       /* let's see where we start from. The wrapping area only concerns the
         * end of the first area, even if it's empty it does not overlap with
         * the second one so we don't care about v1 being set or not.
         */
index e3a7ae6ae1af3a2dda787c728a81b7f1732d8297..8bb138bc63b33539e7ac0f522c9c8765b8a02572 100644 (file)
@@ -645,7 +645,7 @@ process p7 -wait
 
 ######################
 #                    #
-# EIGTH TEST CASE    #
+# EIGHTH TEST CASE   #
 #                    #
 ######################
 
index 208c9bccb527af0475b0e4f21ea61ae227847d28..be8b587cc976601b5e0241c6e4365a4e7561cd6a 100644 (file)
@@ -3490,7 +3490,7 @@ int main(int argc, char **argv)
 #if defined(USE_LINUX_CAP)
        /* If CAP_NET_BIND_SERVICE is in binary file permitted set and process
         * is started and run under the same non-root user, this allows
-        * binding to priviledged ports.
+        * binding to privileged ports.
         */
        prepare_caps_from_permitted_set(geteuid(), global.uid, argv[0]);
 #endif
index 7058370de5cc3a5f61a0e09d4f9ebbb543705c93..b330296a8e19556a8446422dbaa5953c30f8d6b9 100644 (file)
@@ -71,7 +71,7 @@ static uint32_t caplist;
  * will be unset by the same reason.
  * We do this only if the current euid is non-root and there is no global.uid.
  * Otherwise the process will continue either to run under root, or it will do
- * a transition to unpriviledged user later in prepare_caps_for_setuid(),
+ * a transition to unprivileged user later in prepare_caps_for_setuid(),
  * which specially manages its capabilities in that case.
  * Always returns 0. Diagnostic warnings will be emitted only, if
  * LSTCHK_NETADM is presented in LSTCHK_NETADM and some failures are
index f404c808c6c024fee4a2641bf1feac10d85606df..3b076630560b9888a31a1563ae7f50165a05baba 100644 (file)
--- a/src/log.c
+++ b/src/log.c
@@ -568,7 +568,7 @@ static int add_sample_to_logformat_list(char *text, char *name, int name_len, in
  *
  *  lf_expr: the destination logformat expression (logformat_node list)
  *           which is supposed to be configured (str and conf set) but
- *           shouldn't be compiled (shoudn't contain any nodes)
+ *           shouldn't be compiled (shouldn't contain any nodes)
  *  al: arg list where sample expr should store arg dependency (if the logformat
  *      expression involves sample expressions), may be NULL
  *  options: LOG_OPT_* to force on every node
index 16b8a4b027febe57be7da5a1bfe83292c3ba3bf8..a5800509d1f7fb012824fe2f863e80c722a84803 100644 (file)
@@ -70,7 +70,7 @@ void ring_init(struct ring *ring, void *area, size_t size, int reset)
  * If <area> is null, then it's allocated of the requested size. The ring
  * storage struct is part of the area so the usable area is slightly reduced.
  * However the storage is immediately adjacent to the struct so that the ring
- * remains consistent on-disk. ring_free() will ignore such ring stoages and
+ * remains consistent on-disk. ring_free() will ignore such ring storages and
  * will only release the ring part, so the caller is responsible for releasing
  * them. If <reset> is non-zero, the storage area is reset, otherwise it's left
  * intact.