diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-06-30 20:52:46 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-06-30 20:52:46 +0000 |
commit | 981628573e2354fea195616b214f10d21d3f0af8 (patch) | |
tree | aee829b2c9cb455e71b4ea1d8a8fb76cfbe890df /proc/hash.c | |
parent | 382122a37633d0c5a8923db401772d66b04e2432 (diff) |
entered into RCS
Diffstat (limited to 'proc/hash.c')
-rw-r--r-- | proc/hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |