From: Ilya Shipitsin Date: Sun, 14 Apr 2024 07:23:52 +0000 (+0200) Subject: CLEANUP: assorted typo fixes in the code and comments X-Git-Tag: v3.0-dev8~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ab7f05daba5d640b558465eb505e9909b7a5af14;p=thirdparty%2Fhaproxy.git CLEANUP: assorted typo fixes in the code and comments This is 41st iteration of typo fixes --- diff --git a/doc/configuration.txt b/doc/configuration.txt index ecd4715ce9..a5176adb74 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -6739,7 +6739,7 @@ fullconn guid 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 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 diff --git a/include/haproxy/cli-t.h b/include/haproxy/cli-t.h index 6e0abae57d..8555ea8c79 100644 --- a/include/haproxy/cli-t.h +++ b/include/haproxy/cli-t.h @@ -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 */ diff --git a/include/haproxy/session.h b/include/haproxy/session.h index b70a5a89c2..a9cea62ed2 100644 --- a/include/haproxy/session.h +++ b/include/haproxy/session.h @@ -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; diff --git a/include/haproxy/vecpair.h b/include/haproxy/vecpair.h index f5337af6a6..e49570636a 100644 --- a/include/haproxy/vecpair.h +++ b/include/haproxy/vecpair.h @@ -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. */ diff --git a/reg-tests/ssl/ocsp_auto_update.vtc b/reg-tests/ssl/ocsp_auto_update.vtc index e3a7ae6ae1..8bb138bc63 100644 --- a/reg-tests/ssl/ocsp_auto_update.vtc +++ b/reg-tests/ssl/ocsp_auto_update.vtc @@ -645,7 +645,7 @@ process p7 -wait ###################### # # -# EIGTH TEST CASE # +# EIGHTH TEST CASE # # # ###################### diff --git a/src/haproxy.c b/src/haproxy.c index 208c9bccb5..be8b587cc9 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -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 diff --git a/src/linuxcap.c b/src/linuxcap.c index 7058370de5..b330296a8e 100644 --- a/src/linuxcap.c +++ b/src/linuxcap.c @@ -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 diff --git a/src/log.c b/src/log.c index f404c808c6..3b07663056 100644 --- 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 diff --git a/src/ring.c b/src/ring.c index 16b8a4b027..a5800509d1 100644 --- a/src/ring.c +++ b/src/ring.c @@ -70,7 +70,7 @@ void ring_init(struct ring *ring, void *area, size_t size, int reset) * If 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 is non-zero, the storage area is reset, otherwise it's left * intact.