From 4b2b0e8355e7b001170fd7104a9defaf9a8c25a2 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Mon, 3 Mar 2008 17:29:13 +0000 Subject: [PATCH] - use correct variable (hopefully fixes #366548) --- src/poolid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/poolid.c b/src/poolid.c index 0fcb75f..a08c183 100644 --- a/src/poolid.c +++ b/src/poolid.c @@ -70,7 +70,7 @@ rel2id(Pool *pool, Id name, Id evr, int flags, int create) if (pool->nrels * 2 > hashmask) { sat_free(pool->relhashtbl); - pool->relhashmask = hashmask = mkmask(pool->ss.nstrings + REL_BLOCK); + pool->relhashmask = hashmask = mkmask(pool->nrels + REL_BLOCK); pool->relhashtbl = hashtbl = sat_calloc(hashmask + 1, sizeof(Id)); // rehash all rels into new hashtable for (i = 1; i < pool->nrels; i++) -- 2.7.4