Index: src/axl_list.c =================================================================== --- src/axl_list.c (revision 3157) +++ src/axl_list.c (working copy) @@ -695,16 +695,11 @@ node = list->first_node; /* lookup */ - while (node != NULL) { - if (list->are_equal (node->data, pointer) == 0) - return node; - - /* the node should be after this one */ - node = node->next; - - } /* end while */ - - return NULL; + /* We must NOT use the equal function */ + while( node && node->data != pointer ) + node = node->next; + + return node; } /**