mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
Merge pull request #2405 from sisirkoppaka/unstable
rehashing.c: Fix compile error originating from SPOP rewrite
This commit is contained in:
commit
126462ee36
@ -73,7 +73,7 @@ void stressGetKeys(dict *d, int times) {
|
||||
dictEntry **des = zmalloc(sizeof(dictEntry*)*dictSize(d));
|
||||
for (j = 0; j < times; j++) {
|
||||
int requested = rand() % (dictSize(d)+1);
|
||||
int returned = dictGetRandomKeys(d, des, requested);
|
||||
int returned = dictGetSomeKeys(d, des, requested);
|
||||
if (requested != returned) {
|
||||
printf("*** ERROR! Req: %d, Ret: %d\n", requested, returned);
|
||||
exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user