1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-04 00:23:14 +02:00

- Make it possible for nodes which have been delinked to be linked to other lists.

This commit is contained in:
William Pitcock
2012-11-21 23:18:18 +00:00
parent a35fe3ea3b
commit bda05b6876
+2 -3
View File
@@ -113,9 +113,8 @@ static inline void __list_del_entry(struct list_head *entry)
static inline void list_del(struct list_head *entry)
{
__list_del(entry->prev, entry->next);
entry->next = NULL;
entry->prev = NULL;
__list_del_entry(entry);
INIT_LIST_HEAD(entry);
}
/**