summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2016-01-29 22:22:12 +0100
committerantirez <antirez@gmail.com>2016-01-29 22:22:12 +0100
commit49b7f0ec452fb9fa2271e85cbc844568a41f856f (patch)
tree2cc631161ccd6ec52cb8865386ebd46fae945591
parent301ed84ec85cd5605ecb2f4494f064c14df4ca7f (diff)
downloadredis-49b7f0ec452fb9fa2271e85cbc844568a41f856f.tar.gz
Fix wrong macro name after merge of 3.2 code.
-rw-r--r--src/cluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cluster.c b/src/cluster.c
index 9fcfc67ea..66fb2a9df 100644
--- a/src/cluster.c
+++ b/src/cluster.c
@@ -3821,7 +3821,7 @@ void clusterReplyMultiBulkSlots(redisClient *c) {
addReplyMultiBulkLen(c, 3);
addReplyBulkCString(c, node->ip);
addReplyLongLong(c, node->port);
- addReplyBulkCBuffer(c, node->name, CLUSTER_NAMELEN);
+ addReplyBulkCBuffer(c, node->name, REDIS_CLUSTER_NAMELEN);
/* Remaining nodes in reply are replicas for slot range */
for (i = 0; i < node->numslaves; i++) {