]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: Fix typos in the task subsystem
authorJoseph Herlant <aerostitch@debian.org>
Thu, 15 Nov 2018 22:19:23 +0000 (14:19 -0800)
committerWilly Tarreau <w@1wt.eu>
Sun, 18 Nov 2018 21:26:42 +0000 (22:26 +0100)
Fix typos in the code comments of the task subsystem.

src/task.c

index 8e4da933d41fd306c691f89ac03e31d140204b94..779dbf5d8890006adc416c09670e1d668971eaff 100644 (file)
@@ -29,7 +29,7 @@ struct pool_head *pool_head_task;
 struct pool_head *pool_head_tasklet;
 
 /* This is the memory pool containing all the signal structs. These
- * struct are used to store each requiered signal between two tasks.
+ * struct are used to store each required signal between two tasks.
  */
 struct pool_head *pool_head_notification;
 
@@ -429,7 +429,7 @@ void process_runnable_tasks()
                }
                curr_task = NULL;
                /* If there is a pending state  we have to wake up the task
-                * immediatly, else we defer it into wait queue
+                * immediately, else we defer it into wait queue
                 */
                if (t != NULL) {
                        state = HA_ATOMIC_AND(&t->state, ~TASK_RUNNING);