Commit b59f04a0 authored by dejun.xdj's avatar dejun.xdj Committed by antirez
Browse files

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

parent a3f2437b
......@@ -2015,7 +2015,7 @@ void xclaimCommand(client *c) {
* the client successfully claimed some message, so it should be
* executed in a "all or nothing" fashion. */
int j;
for (j = 4; j < c->argc; j++) {
for (j = 5; j < c->argc; j++) {
streamID id;
if (streamParseStrictIDOrReply(NULL,c->argv[j],&id,0) != C_OK) break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment