]> git.saurik.com Git - redis.git/commitdiff
small comment added
authorantirez <antirez@gmail.com>
Thu, 13 Oct 2011 12:51:29 +0000 (14:51 +0200)
committerantirez <antirez@gmail.com>
Thu, 13 Oct 2011 12:51:29 +0000 (14:51 +0200)
src/cluster.c

index c2d85e0654f379552aaf56b0971be9aeb5fef9b5..f043d1f83cec4837733a3214626ed98ff3959488 100644 (file)
@@ -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> [slot] ... */
+        /* CLUSTER DELSLOTS <slot> [slot] ... */
         int j, slot;
         unsigned char *slots = zmalloc(REDIS_CLUSTER_SLOTS);
         int del = !strcasecmp(c->argv[1]->ptr,"delslots");