From: antirez Date: Thu, 13 Oct 2011 12:51:29 +0000 (+0200) Subject: small comment added X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/2b9ce0192ef93a6b01009d381202833e10dc7e4a?ds=sidebyside;hp=-c small comment added --- 2b9ce0192ef93a6b01009d381202833e10dc7e4a diff --git a/src/cluster.c b/src/cluster.c index c2d85e06..f043d1f8 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -1275,7 +1275,10 @@ void clusterCommand(redisClient *c) { addReplyBulk(c,o); decrRefCount(o); } else if ((!strcasecmp(c->argv[1]->ptr,"addslots") || - !strcasecmp(c->argv[1]->ptr,"delslots")) && c->argc >= 3) { + !strcasecmp(c->argv[1]->ptr,"delslots")) && c->argc >= 3) + { + /* CLUSTER ADDSLOTS [slot] ... */ + /* CLUSTER DELSLOTS [slot] ... */ int j, slot; unsigned char *slots = zmalloc(REDIS_CLUSTER_SLOTS); int del = !strcasecmp(c->argv[1]->ptr,"delslots");