diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2015-02-25 12:52:23 +0100 |
---|---|---|
committer | Salvatore Sanfilippo <antirez@gmail.com> | 2015-02-25 12:52:23 +0100 |
commit | 126462ee3676777e8e72669d1abb3ae5c429805f (patch) | |
tree | b2fcd69e3a157864f17a55e53805ff9a8c894d9d /utils | |
parent | 74354ceef53651aa30486a1b7181438d71cfbd1b (diff) | |
parent | acb933a747ea5ecc85d984867e8627a813ffe2c1 (diff) | |
download | redis-126462ee3676777e8e72669d1abb3ae5c429805f.tar.gz |
Merge pull request #2405 from sisirkoppaka/unstable
rehashing.c: Fix compile error originating from SPOP rewrite
Diffstat (limited to 'utils')
-rw-r--r-- | utils/hashtable/rehashing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/hashtable/rehashing.c b/utils/hashtable/rehashing.c index df1f52bb1..c900a8d2f 100644 --- a/utils/hashtable/rehashing.c +++ b/utils/hashtable/rehashing.c @@ -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); |