CLEANUP: assorted typo fixes in the code and comments
This is 21st iteration of typo fixes
diff --git a/doc/management.txt b/doc/management.txt
index 261c74d..80755be 100644
--- a/doc/management.txt
+++ b/doc/management.txt
@@ -1721,7 +1721,7 @@
The experimental mode is used to access to extra features still in
development. These features are currently not stable and should be used with
- care. They may be subject to breaking changes accross versions.
+ care. They may be subject to breaking changes across versions.
expert-mode [on|off]
This command is similar to experimental-mode but is used to toggle the
diff --git a/src/server.c b/src/server.c
index 702c307..dde78e8 100644
--- a/src/server.c
+++ b/src/server.c
@@ -1654,9 +1654,9 @@
{ "proto", srv_parse_proto, 1, 1, 1 }, /* Set the proto to use for all outgoing connections */
{ "proxy-v2-options", srv_parse_proxy_v2_options, 1, 1, 1 }, /* options for send-proxy-v2 */
{ "redir", srv_parse_redir, 1, 1, 0 }, /* Enable redirection mode */
- { "resolve-net", srv_parse_resolve_net, 1, 1, 0 }, /* Set the prefered network range for name resolution */
+ { "resolve-net", srv_parse_resolve_net, 1, 1, 0 }, /* Set the preferred network range for name resolution */
{ "resolve-opts", srv_parse_resolve_opts, 1, 1, 0 }, /* Set options for name resolution */
- { "resolve-prefer", srv_parse_resolve_prefer, 1, 1, 0 }, /* Set the prefered family for name resolution */
+ { "resolve-prefer", srv_parse_resolve_prefer, 1, 1, 0 }, /* Set the preferred family for name resolution */
{ "resolvers", srv_parse_resolvers, 1, 1, 0 }, /* Configure the resolver to use for name resolution */
{ "send-proxy", srv_parse_send_proxy, 0, 1, 1 }, /* Enforce use of PROXY V1 protocol */
{ "send-proxy-v2", srv_parse_send_proxy_v2, 0, 1, 1 }, /* Enforce use of PROXY V2 protocol */
@@ -2247,7 +2247,7 @@
* Set <nb_low> and <nb_high> values so that they may be reused by this loop
* for(int i = nb_low; i <= nb_high; i++)... with nb_low >= 1.
*
- * This function is first intented to be used through parse_server to
+ * This function is first intended to be used through parse_server to
* initialize a new server on startup.
*
* Fails if 'low' < 0 or 'high' is present and not higher than 'low'.
@@ -2266,7 +2266,7 @@
* a few different parameters than a server which has
* been parsed mostly the same way as a server.
*
- * This function is first intented to be used through parse_server to
+ * This function is first intended to be used through parse_server to
* initialize a new server on startup.
*
* Returns the number of servers successfully allocated,
@@ -2323,7 +2323,7 @@
* in <args> as an address for a server or an address-range for a template or
* nothing for a default-server. <cur_arg> is incremented to the next argument.
*
- * This function is first intented to be used through parse_server to
+ * This function is first intended to be used through parse_server to
* initialize a new server on startup.
*
* A mask of errors is returned. On a parsing error, ERR_FATAL is set. In case
@@ -2506,7 +2506,7 @@
* <cur_arg> is incremented beyond the keyword optional value. Note that this
* might not be the case if an error is reported.
*
- * This function is first intented to be used through parse_server to
+ * This function is first intended to be used through parse_server to
* initialize a new server on startup.
*
* A mask of errors is returned. ERR_FATAL is set if the parsing should be
@@ -2563,7 +2563,7 @@
}
#ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME
-/* This function is first intented to be used through parse_server to
+/* This function is first intended to be used through parse_server to
* initialize a new server on startup.
*/
static int _srv_parse_sni_expr_init(char **args, int cur_arg,
@@ -2587,7 +2587,7 @@
* Initialize health check, agent check and SNI expression if enabled.
* Must not be called for a default server instance.
*
- * This function is first intented to be used through parse_server to
+ * This function is first intended to be used through parse_server to
* initialize a new server on startup.
*/
static int _srv_parse_finalize(char **args, int cur_arg,