Re: lib/hash.c question

From: Duane Wessels <wessels@dont-contact.us>
Date: Wed, 7 Mar 2001 10:57:16 -0700 (MST)

On Wed, 7 Mar 2001, Adrian Chadd wrote:

>
>
> hi,
>
> hash_remove_link() seems to have undergone a syntax change.
> The comments say:
>
> * On success, it returns 0 and deletes the link; otherwise,
> * returns non-zero on error.
>
> but it either return;s assert(0)s (which does nothing).
>
> What should it actually do?

I think the comments are just out of date.

hash_remove_link() should assert if you tell it to remove
something that's not in the list.
Received on Wed Mar 07 2001 - 10:57:17 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:36 MST