On Thu, Jun 12, 2008 at 6:16 AM, liusifan <[EMAIL PROTECTED]> wrote: > After reading the min_heap.h, I found the min_heap_pop may be has a bug [...] > evp = min_heap_pop( &heap ); > min_heap_erase( &heap, evp );
Hi Liusifan, thanks for the report; I changed min_heap_pop to set the index to -1 after the shift down. Niels. _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users