Fix typos
authorFabian Keil <fk@fabiankeil.de>
Thu, 28 May 2020 09:11:55 +0000 (11:11 +0200)
committerFabian Keil <fk@fabiankeil.de>
Thu, 28 May 2020 10:24:49 +0000 (12:24 +0200)
list.c

diff --git a/list.c b/list.c
index 4faf693..89bb010 100644 (file)
--- a/list.c
+++ b/list.c
@@ -130,7 +130,7 @@ void destroy_list (struct list *the_list)
  * Description :  Check that a string list is valid.  The intended
  *                usage is "assert(list_is_valid(the_list))".
  *                Currently this checks that "the_list->last"
  * Description :  Check that a string list is valid.  The intended
  *                usage is "assert(list_is_valid(the_list))".
  *                Currently this checks that "the_list->last"
- *                is correct, and that the list dosn't contain
+ *                is correct, and that the list doesn't contain
  *                circular references.  It is likely to crash if
  *                it's passed complete garbage.
  *
  *                circular references.  It is likely to crash if
  *                it's passed complete garbage.
  *
@@ -1120,7 +1120,7 @@ jb_err unmap(struct map *the_map, const char *name)
  *          2  :  name = name parameter to look for
  *
  * Returns     :  the value if found, else the empty string.
  *          2  :  name = name parameter to look for
  *
  * Returns     :  the value if found, else the empty string.
- *                Return value is alloced as part of the map, so
+ *                Return value is allocated as part of the map, so
  *                it is freed when the map is destroyed.  Caller
  *                must not free or modify it.
  *
  *                it is freed when the map is destroyed.  Caller
  *                must not free or modify it.
  *