Fixed readwritesplit hashing function returning the key value instead of the hash value.

This commit is contained in:
Markus Makela
2015-02-06 22:09:28 +02:00
parent e91ad034a8
commit 2a06331f82

View File

@ -325,7 +325,7 @@ static int hashkeyfun(
while((c = *ptr++)){
hash = c + (hash << 6) + (hash << 16) - hash;
}
return *(int *)key;
return hash;
}
static int hashcmpfun(