diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2001-03-02 15:47:54 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2001-03-02 15:47:54 +0000 |
commit | c5dce9de17bd545fa1991eb96971b697561ce457 (patch) | |
tree | 7727b6e6dc75ec539ecf786e988adf84e264021d /lib/libc | |
parent | 7a5013063d6577126a9c4abfb6fef4d7ab7e8766 (diff) |
missed a second hash->ohash
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/ohash/ohash_do.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/ohash/ohash_do.c b/lib/libc/ohash/ohash_do.c index c5fc551d763..efc3e9b2570 100644 --- a/lib/libc/ohash/ohash_do.c +++ b/lib/libc/ohash/ohash_do.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ohash_do.c,v 1.1 2001/03/02 13:27:07 espie Exp $ */ +/* $OpenBSD: ohash_do.c,v 1.2 2001/03/02 15:47:53 espie Exp $ */ /* ex:ts=8 sw=4: */ @@ -94,7 +94,7 @@ ohash_remove(h, i) h->t[i].p = DELETED; h->deleted++; if (h->deleted >= MINDELETED && 4 * h->deleted > h->total) - hash_resize(h); + ohash_resize(h); return result; } @@ -125,7 +125,7 @@ ohash_insert(h, i, p) h->t[i].p = p; /* Arbitrary resize boundary. Tweak if not efficient enough. */ if (++h->total * 4 > h->size * 3) - hash_resize(h); + ohash_resize(h); } return p; } |