CLEANUP: assorted typo fixes in the code and comments
This is 23rd iteration of typo fixes
diff --git a/src/activity.c b/src/activity.c
index 6b9430c..4dc832e 100644
--- a/src/activity.c
+++ b/src/activity.c
@@ -112,7 +112,7 @@
* 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 @@
}
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;
diff --git a/src/haproxy.c b/src/haproxy.c
index c13beb4..1fd4a6b 100644
--- a/src/haproxy.c
+++ b/src/haproxy.c
@@ -2623,7 +2623,7 @@
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;