diff options
Diffstat (limited to 'src/poolid.c')
-rw-r--r-- | src/poolid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/poolid.c b/src/poolid.c index 3fa1ed4..66b6d46 100644 --- a/src/poolid.c +++ b/src/poolid.c @@ -63,7 +63,7 @@ pool_rel2id(Pool *pool, Id name, Id evr, int flags, int create) hashmask = pool->relhashmask; hashtbl = pool->relhashtbl; ran = pool->rels; - + /* extend hashtable if needed */ if (pool->nrels * 2 > hashmask) { @@ -80,7 +80,7 @@ pool_rel2id(Pool *pool, Id name, Id evr, int flags, int create) hashtbl[h] = i; } } - + /* compute hash and check for match */ h = relhash(name, evr, flags) & hashmask; hh = HASHCHAIN_START; @@ -117,7 +117,7 @@ pool_rel2id(Pool *pool, Id name, Id evr, int flags, int create) /* Id -> String * for rels (returns name only) and strings - */ + */ const char * pool_id2str(const Pool *pool, Id id) { |