Commit 1e94df08 by Vicent Marti

sha1-lookup: This assert was correct

parent c87bf86c
...@@ -124,7 +124,7 @@ int sha1_entry_pos(const void *table, ...@@ -124,7 +124,7 @@ int sha1_entry_pos(const void *table,
lov = (lov << 8) | lo_key[ofs_0+1]; lov = (lov << 8) | lo_key[ofs_0+1];
kyv = (kyv << 8) | key[ofs_0+1]; kyv = (kyv << 8) | key[ofs_0+1];
} }
assert(lov <= hiv); assert(lov < hiv);
if (kyv < lov) if (kyv < lov)
return -1 - lo; return -1 - lo;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment