From 6986e09fa77045fa21edaf84f6d849140f927d1b Mon Sep 17 00:00:00 2001 From: Cloudwalk Date: Wed, 21 Jul 2021 14:43:15 -0400 Subject: [PATCH] com_list: Actually initialize a list to point to itself... --- com_list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com_list.h b/com_list.h index f023da50..074b5504 100644 --- a/com_list.h +++ b/com_list.h @@ -219,7 +219,7 @@ static inline qbool List_Is_Empty(const llist_t *list) */ static inline void List_Create(llist_t *list) { - list->next = list->prev = NULL; + list->next = list->prev = list; } /* -- 2.39.2