From b59f04a099ec9fbfb9a1adc25e80dd6113198a00 Mon Sep 17 00:00:00 2001 From: "dejun.xdj" Date: Thu, 19 Jul 2018 20:48:08 +0800 Subject: [PATCH] Streams: ID of xclaim command starts from the sixth argument. --- src/t_stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/t_stream.c b/src/t_stream.c index d3156321..77fbf464 100644 --- a/src/t_stream.c +++ b/src/t_stream.c @@ -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; }