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
fdb57599
Commit
fdb57599
authored
Oct 17, 2018
by
antirez
Browse files
Fix conditional in XGROUP.
parent
ad78b50f
Changes
1
Show whitespace changes
Inline
Side-by-side
src/t_stream.c
View file @
fdb57599
...
@@ -1716,7 +1716,7 @@ NULL
...
@@ -1716,7 +1716,7 @@ NULL
}
}
/* Everything but the "HELP" option requires a key and group name. */
/* Everything but the "HELP" option requires a key and group name. */
if
(
c
->
argc
>
4
)
{
if
(
c
->
argc
>
=
4
)
{
o
=
lookupKeyWrite
(
c
->
db
,
c
->
argv
[
2
]);
o
=
lookupKeyWrite
(
c
->
db
,
c
->
argv
[
2
]);
if
(
o
)
s
=
o
->
ptr
;
if
(
o
)
s
=
o
->
ptr
;
grpname
=
c
->
argv
[
3
]
->
ptr
;
grpname
=
c
->
argv
[
3
]
->
ptr
;
...
...
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