Commit c2fb4f5c authored by Eric Coissac's avatar Eric Coissac

--no commit message

--no commit message
parent 9364bedb
......@@ -456,7 +456,6 @@ int32_t lookForReverse(buffer_t *buffer, pnuc key, size_t length, int32_t* endof
// I start a bsearch between start and end
end--;
while (start!=end)
{
middle = (start + end) / 2;
......@@ -469,6 +468,9 @@ int32_t lookForReverse(buffer_t *buffer, pnuc key, size_t length, int32_t* endof
comp = cmpCompPrefix(buffer,buffer->order1[start],dest,length);
if (comp==0)
start++,
comp = cmpCompPrefix(buffer,buffer->order1[start],dest,length);
// No match found
if (comp!=0)
......
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