Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
6b675b95
Commit
6b675b95
authored
Jun 12, 2018
by
Itamar Haber
Browse files
Applies addReplySubSyntaxError to stream commands
parent
e654b68d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_stream.c
View file @
6b675b95
...
@@ -1634,7 +1634,7 @@ NULL
...
@@ -1634,7 +1634,7 @@ NULL
}
else
if
(
!
strcasecmp
(
opt
,
"HELP"
))
{
}
else
if
(
!
strcasecmp
(
opt
,
"HELP"
))
{
addReplyHelp
(
c
,
help
);
addReplyHelp
(
c
,
help
);
}
else
{
}
else
{
addReply
(
c
,
shared
.
s
yntax
e
rr
);
addReply
SubS
yntax
E
rr
or
(
c
);
}
}
}
}
...
@@ -2261,7 +2261,7 @@ NULL
...
@@ -2261,7 +2261,7 @@ NULL
STREAM_RWR_RAWENTRIES
,
NULL
);
STREAM_RWR_RAWENTRIES
,
NULL
);
if
(
!
count
)
addReply
(
c
,
shared
.
nullbulk
);
if
(
!
count
)
addReply
(
c
,
shared
.
nullbulk
);
}
else
{
}
else
{
addReply
Error
(
c
,
"s
yntax
e
rror
, try 'XINFO HELP'"
);
addReply
SubS
yntax
E
rror
(
c
);
}
}
}
}
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