INN commit: branches/2.5/lib (dbz.c)
INN Commit
rra at isc.org
Sat Aug 6 20:55:43 UTC 2011
Date: Saturday, August 6, 2011 @ 13:55:43
Author: iulius
Revision: 9325
fix compilation of tagged-hash history format when warnings are on
Variables names have changed since the last time a build
in debug mode was done.
Modified:
branches/2.5/lib/dbz.c
-------+
dbz.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
Modified: dbz.c
===================================================================
--- dbz.c 2011-08-06 20:55:10 UTC (rev 9324)
+++ dbz.c 2011-08-06 20:55:43 UTC (rev 9325)
@@ -948,7 +948,7 @@
nb2r = sizeof(buffer) - 1;
while ((offset = search(&srch)) != NOTFOUND) {
- debug("got 0x%lx", key_ptr);
+ debug("got 0x%lx", offset);
/* fetch the key */
offset <<= conf.dropbits;
@@ -1139,9 +1139,8 @@
cp->tagshift = TAGSHIFT;
cp->dropbits = 0;
cp->lenfuzzy = 0;
- debug("getconf: defaults (%ld, %c, (0x%lx/0x%lx<<%d %d))",
- cp->tsize, cp->casemap, cp->tagenb,
- cp->tagmask, cp->tagshift, cp->dropbits);
+ debug("getconf: defaults (%ld, (0x%lx/0x%lx<<%d %d))",
+ cp->tsize, cp->tagenb, cp->tagmask, cp->tagshift, cp->dropbits);
return true;
}
@@ -1413,7 +1412,7 @@
taboffset = sp->tabno * conf.tsize;
}
sp->place = ((sp->shorthash + sp->run) % conf.tsize) + taboffset;
- debug("search @ %ld", place);
+ debug("search @ %ld", sp->place);
/* get the tagged value */
if ((options.pag_incore != INCORE_NO) && (sp->place < conf.tsize)) {
More information about the inn-committers
mailing list