From db9c6c07019b64a4d93170504c0fc170b3a4c63a Mon Sep 17 00:00:00 2001 From: Stathis Kamperis Date: Sun, 4 Nov 2007 13:37:08 +0200 Subject: [PATCH] Cosmetic change in comment --- genstructs/htable/htable.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/genstructs/htable/htable.c b/genstructs/htable/htable.c index 2b799a1..46481d7 100644 --- a/genstructs/htable/htable.c +++ b/genstructs/htable/htable.c @@ -180,8 +180,10 @@ htret_t htable_remove(htable_t *htable, const void *key) /* Calculate hash */ hash = htable->ht_hashf(key); - /* Search across chain if there is an entry with the - key we are looking. If there is, delete it. */ + /* + * Search across chain if there is an entry with the + * key we are looking. If there is, delete it. + */ phead = &htable->ht_table[hash & (htable->ht_size - 1)]; TAILQ_FOREACH(pnode, phead, hn_next) { if (htable->ht_cmpf(pnode->hn_key, key) == 0) { -- 2.11.4.GIT