BarryServer : Git

All the code for all my projects
// BarryServer : Git / Nucleus / commit / e59f635358bdd2270f14afb5677490312ae5cea2 / object / list.c

// Related

Nucleus

Barry Small bug-fixes e59f635 (3 years, 2 months ago)
diff --git a/object/list.c b/object/list.c
index 914a303..01f6aef 100644
--- a/object/list.c
+++ b/object/list.c
@@ -135,7 +135,7 @@ remove(ObjectList *list, void *addr)
 	if (list->start == entry)
 		list->start = entry->next;
 	if (list->end == entry)
-		list->end == entry->prev;
+		list->end = entry->prev;
 
 	/* Unlink neighbours */
 	if (entry->prev)