/[mailutils]/mailutils/mailbox/list.c
ViewVC logotype

Diff of /mailutils/mailbox/list.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by sroberts, Wed Jan 23 04:34:07 2002 UTC revision 1.11 by gray, Sun Aug 25 12:44:17 2002 UTC
# Line 140  list_remove (list_t list, void *item) Line 140  list_remove (list_t list, void *item)
140    for (previous = &(list->head), current = list->head.next;    for (previous = &(list->head), current = list->head.next;
141         current != &(list->head); previous = current, current = current->next)         current != &(list->head); previous = current, current = current->next)
142      {      {
143        if ((int)current->item == (int)item)        if (current->item == item)
144          {          {
145            previous->next = current->next;            previous->next = current->next;
146            current->next->prev = previous;            current->next->prev = previous;

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26