Index: nmcontact.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/novell/nmcontact.c,v retrieving revision 1.3 diff -u -p -u -r1.3 nmcontact.c --- nmcontact.c 23 Apr 2004 06:14:15 -0000 1.3 +++ nmcontact.c 23 Apr 2004 12:23:33 -0000 @@ -701,11 +701,13 @@ nm_folder_add_folder_to_list(NMFolder * void nm_folder_remove_contact(NMFolder * folder, NMContact * contact) { - GSList *node = folder->contacts; + GSList *node; if (folder == NULL || contact == NULL) return; + node = folder->contacts; + while (node) { if (contact->id == ((NMContact *) (node->data))->id) { folder->contacts = g_slist_remove(folder->contacts, node->data);