diff options
author | antirez <antirez@gmail.com> | 2019-04-08 17:39:22 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2019-04-08 17:39:26 +0200 |
commit | 75648f99a5ba41812c115f83f8b668f030acfaee (patch) | |
tree | 54527ec117d321f3474877cb73755d0fd43dcad3 | |
parent | 5e8caca0366e5fdf5fc36292c86964360203de77 (diff) | |
download | redis-75648f99a5ba41812c115f83f8b668f030acfaee.tar.gz |
Fix assert comparison in fetchClusterSlotsConfiguration().
-rw-r--r-- | src/redis-benchmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redis-benchmark.c b/src/redis-benchmark.c index 12e9f7e41..4e2662f21 100644 --- a/src/redis-benchmark.c +++ b/src/redis-benchmark.c @@ -1192,7 +1192,7 @@ static int fetchClusterSlotsConfiguration(client c) { assert(reply->type == REDIS_REPLY_ARRAY); for (i = 0; i < reply->elements; i++) { redisReply *r = reply->element[i]; - assert(r->type = REDIS_REPLY_ARRAY); + assert(r->type == REDIS_REPLY_ARRAY); assert(r->elements >= 3); int from, to, slot; from = r->element[0]->integer; |