From: wessels <> Date: Thu, 8 Mar 2001 00:57:37 +0000 (+0000) Subject: comments for hash_remove_link() are out of date. X-Git-Tag: SQUID_3_0_PRE1~1574 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4fba1a24fe94b8cac0b0cfaa865a19c460b8518c;p=thirdparty%2Fsquid.git comments for hash_remove_link() are out of date. --- diff --git a/lib/hash.c b/lib/hash.c index c70814e114..b5942af4ef 100644 --- a/lib/hash.c +++ b/lib/hash.c @@ -1,6 +1,6 @@ /* - * $Id: hash.c,v 1.11 2001/01/12 00:37:12 wessels Exp $ + * $Id: hash.c,v 1.12 2001/03/07 17:57:37 wessels Exp $ * * DEBUG: section 0 Hash Tables * AUTHOR: Harvest Derived @@ -249,8 +249,8 @@ hash_last(hash_table * hid) * hash table 'hid'. Does not free the item, only removes it * from the list. * - * On success, it returns 0 and deletes the link; otherwise, - * returns non-zero on error. + * An assertion is triggered if the hash_link is not found in the + * list. */ void hash_remove_link(hash_table * hid, hash_link * hl)