CLEANUP: assorted typo fixes in the code and comments
authorIlya Shipitsin <chipitsine@gmail.com>
Mon, 10 May 2021 07:50:00 +0000 (12:50 +0500)
committerWilly Tarreau <w@1wt.eu>
Mon, 10 May 2021 21:05:08 +0000 (23:05 +0200)
This is 23rd iteration of typo fixes

doc/configuration.txt
src/activity.c
src/haproxy.c

index 964bc04..a716c34 100644 (file)
@@ -12247,7 +12247,7 @@ tcp-request content <action> [{if | unless} <condition>]
   "tcp-request content" rules are not evaluated. This upgrade method should be
   preferred to the implicit one consisting to rely on the backend mode. When
   used, it is possible to set HTTP directives in a frontend without any
-  warning. These directives will be conditionaly evaluated if the HTTP upgrade
+  warning. These directives will be conditionally evaluated if the HTTP upgrade
   is performed. However, an HTTP backend must still be selected. It remains
   unsupported to route an HTTP connection (upgraded or not) to a TCP server.
 
index 6b9430c..4dc832e 100644 (file)
@@ -112,7 +112,7 @@ static __attribute__((noreturn)) void memprof_die(const char *msg)
  * Worse, we have to account for the risk of reentrance from dlsym() when
  * it tries to prepare its error messages. Here its ahndled by in_memprof
  * that makes allocators return NULL. dlsym() handles it gracefully. An
- * alternate approch consists in calling aligned_alloc() from these places
+ * alternate approach consists in calling aligned_alloc() from these places
  * but that would mean not being able to intercept it later if considered
  * useful to do so.
  */
@@ -411,7 +411,7 @@ static int cli_parse_set_profiling(char **args, char *payload, struct appctx *ap
        }
 
        if (strcmp(args[2], "tasks") != 0)
-               return cli_err(appctx, "Expects etiher 'tasks' or 'memory'.\n");
+               return cli_err(appctx, "Expects either 'tasks' or 'memory'.\n");
 
        if (strcmp(args[3], "on") == 0) {
                unsigned int old = profiling;
index c13beb4..1fd4a6b 100644 (file)
@@ -2623,7 +2623,7 @@ void run_poll_loop()
                        int i;
 
                        if (stopping) {
-                               /* stop muxes before acknowleding stopping */
+                               /* stop muxes before acknowledging stopping */
                                if (!(stopping_thread_mask & tid_bit)) {
                                        task_wakeup(mux_stopping_data[tid].task, TASK_WOKEN_OTHER);
                                        wake = 1;