sha1-lookup: This assert was correct

This commit is contained in:
Vicent Marti 2013-08-15 00:09:46 +02:00
parent c87bf86cd7
commit 1e94df08da

View File

@ -124,7 +124,7 @@ int sha1_entry_pos(const void *table,
lov = (lov << 8) | lo_key[ofs_0+1];
kyv = (kyv << 8) | key[ofs_0+1];
}
assert(lov <= hiv);
assert(lov < hiv);
if (kyv < lov)
return -1 - lo;