Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
b59f04a0
Commit
b59f04a0
authored
Jul 19, 2018
by
dejun.xdj
Committed by
antirez
Aug 29, 2018
Browse files
Streams: ID of xclaim command starts from the sixth argument.
parent
a3f2437b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_stream.c
View file @
b59f04a0
...
...
@@ -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;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment