From: Ben Pfaff Date: Mon, 26 Jun 2006 05:25:17 +0000 (+0000) Subject: Fix comment. X-Git-Tag: sav-api~1816 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e370920959483580fb1a2cd452ed2fe6db4c10f;p=pspp Fix comment. --- diff --git a/src/libpspp/hash.c b/src/libpspp/hash.c index c3a7eb7e59..55b3a6f151 100644 --- a/src/libpspp/hash.c +++ b/src/libpspp/hash.c @@ -231,8 +231,9 @@ hsh_destroy (struct hsh_table *h) } } -/* Locates an entry matching TARGET. Returns a pointer to the - entry, or a null pointer on failure. */ +/* Locates an entry matching TARGET. Returns the index for the + entry, if found, or the index of an empty entry that indicates + where TARGET should go, otherwise. */ static inline unsigned locate_matching_entry (struct hsh_table *h, const void *target) {