From 981628573e2354fea195616b214f10d21d3f0af8 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 30 Jun 1994 20:52:46 +0000 Subject: entered into RCS --- proc/hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proc/hash.c') diff --git a/proc/hash.c b/proc/hash.c index eb906851..ad13f271 100644 --- a/proc/hash.c +++ b/proc/hash.c @@ -116,12 +116,12 @@ findhash (struct htable *ht, return 0; for (h = HASH (id, ht); - (ht->tab[h] != 0 && ht->ids[h] != id && h != firsth); + (ht->tab[h] != 0 && ht->ids[h] != id && h != firsth); firsth = (firsth == -1) ? h : firsth, h = REHASH (id, ht, h)) ; if (ht->ids[h] == id) - ret = ht->tab[h]; + ret = ht->tab[h] == HASH_DEL ? 0 : ht->tab[h]; else ret = 0; return ret; -- cgit v1.2.3