commit c1dce327e69e6e99c33a537a1b2800abfc9ad7ed
parent 1965101c60cc1378f44274a5b0c02f57b171fe75
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Tue, 13 Jul 2021 21:00:37 -0700
Fix assertion
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/aps/item.c b/aps/item.c
@@ -59,7 +59,7 @@ item_insert(struct item *list, struct item *item)
}
if (list->prev == NULL) {
- assert(list->next != NULL);
+ assert(list->next == NULL);
list->next = list->prev = item;
item->next = item->prev = list;
} else {