projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06af425
)
- use correct variable (hopefully fixes #366548)
author
Michael Schroeder
<mls@suse.de>
Mon, 3 Mar 2008 17:29:13 +0000
(17:29 +0000)
committer
Michael Schroeder
<mls@suse.de>
Mon, 3 Mar 2008 17:29:13 +0000
(17:29 +0000)
src/poolid.c
patch
|
blob
|
history
diff --git
a/src/poolid.c
b/src/poolid.c
index
0fcb75f
..
a08c183
100644
(file)
--- 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.nstring
s + REL_BLOCK);
+ pool->relhashmask = hashmask = mkmask(pool->
nrel
s + REL_BLOCK);
pool->relhashtbl = hashtbl = sat_calloc(hashmask + 1, sizeof(Id));
// rehash all rels into new hashtable
for (i = 1; i < pool->nrels; i++)