Streams: ID of xclaim command starts from the sixth argument.

This commit is contained in:
dejun.xdj 2018-07-19 20:48:08 +08:00
parent 1c95c07596
commit de5ca516ae

View File

@ -1988,7 +1988,7 @@ void xclaimCommand(client *c) {
* the client successfully claimed some message, so it should be * the client successfully claimed some message, so it should be
* executed in a "all or nothing" fashion. */ * executed in a "all or nothing" fashion. */
int j; int j;
for (j = 4; j < c->argc; j++) { for (j = 5; j < c->argc; j++) {
streamID id; streamID id;
if (streamParseIDOrReply(NULL,c->argv[j],&id,0) != C_OK) break; if (streamParseIDOrReply(NULL,c->argv[j],&id,0) != C_OK) break;
} }