Commit 6125ef74 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Sync with HEAD

parent e384d70b
......@@ -120,7 +120,7 @@ bdb_bt_compare(
)
{
unsigned char *u, *c;
int i;
int i, x;
u = usrkey->data;
c = curkey->data;
......@@ -131,9 +131,10 @@ bdb_bt_compare(
for( i = sizeof(ID)-1; i >= 0; i--)
#endif
{
if( u[i] - c[i] )
return u[i] - c[i];
x = u[i] - c[i];
if( x ) return x;
}
return 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