Revision 18c8241a lib/lists.c

View differences:

lib/lists.c
16 16
{
17 17
  node *z = l->tail;
18 18

  
19
  n->next = (node *) &l->tail;
19
  n->next = (node *) &l->null;
20 20
  n->prev = z;
21 21
  z->next = n;
22 22
  l->tail = n;

Also available in: Unified diff