diff options
author | antirez <antirez@gmail.com> | 2011-05-05 17:52:19 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2011-05-05 17:52:19 +0200 |
commit | 4763ecc9add311467c9c3852a81664a0b3005919 (patch) | |
tree | db0efa11a4508e948a1aead906e99b1e3643f163 /src/cluster.c | |
parent | 0276e5545c78490613871939d48989090a54c2c9 (diff) | |
download | redis-4763ecc9add311467c9c3852a81664a0b3005919.tar.gz |
missing return caused protocol desync in CLUSTER SETSLOT
Diffstat (limited to 'src/cluster.c')
-rw-r--r-- | src/cluster.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cluster.c b/src/cluster.c index 1d39d3e81..0b55b1073 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -1241,6 +1241,7 @@ void clusterCommand(redisClient *c) { server.cluster.importing_slots_from[slot] = NULL; } else { addReplyError(c,"Invalid CLUSTER SETSLOT action or number of arguments"); + return; } clusterSaveConfigOrDie(); addReply(c,shared.ok); |