summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Chen <chen.bao.yi@qq.com>2017-07-18 02:28:24 -0500
committerantirez <antirez@gmail.com>2017-07-24 14:18:54 +0200
commitdc782ceb8384da3272ef4fbeb4a527bb4e0ad9ce (patch)
tree069bb38dcba375ee6a217aeb69874f5ef508d8a7
parent07631ff18eaa56fec55144fb31747c82691b1b62 (diff)
downloadredis-dc782ceb8384da3272ef4fbeb4a527bb4e0ad9ce.tar.gz
fix mismatch argument
-rw-r--r--src/cluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cluster.c b/src/cluster.c
index 89765e37d..e7d9fcfe6 100644
--- a/src/cluster.c
+++ b/src/cluster.c
@@ -4195,7 +4195,7 @@ void clusterCommand(client *c) {
}
if ((n = clusterLookupNode(c->argv[4]->ptr)) == NULL) {
addReplyErrorFormat(c,"I don't know about node %s",
- (char*)c->argv[3]->ptr);
+ (char*)c->argv[4]->ptr);
return;
}
server.cluster->importing_slots_from[slot] = n;