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
ac6b656f
Commit
ac6b656f
authored
Jun 24, 2014
by
antirez
Browse files
Old form of CLIENT KILL should still allow suicide.
parent
32ebb3e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/networking.c
View file @
ac6b656f
...
...
@@ -1335,6 +1335,7 @@ void clientCommand(redisClient *c) {
if
(
c
->
argc
==
3
)
{
/* Old style syntax: CLIENT KILL <addr> */
addr
=
c
->
argv
[
2
]
->
ptr
;
skipme
=
0
;
/* With the old form, you can kill yourself. */
}
else
if
(
c
->
argc
>
3
)
{
int
i
=
2
;
/* Next option index. */
...
...
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