Mon, 17 Feb 2003 23:24:47 +0100
trunk: changeset 46 UNLINK_ITEM fixed to reset next/previous pointers to NULL
--- a/include/libtu/dlist.h Sun Nov 03 03:51:35 2002 +0100 +++ b/include/libtu/dlist.h Mon Feb 17 23:24:47 2003 +0100 @@ -65,6 +65,8 @@ }else{ \ (ITEM)->PREV->NEXT=(ITEM)->NEXT; \ (ITEM)->NEXT->PREV=(ITEM)->PREV; \ - } + } \ + (ITEM)->NEXT=NULL; \ + (ITEM)->PREV=NULL; #endif /* LIBTU_DLIST_H */