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
dd0adbb7
Commit
dd0adbb7
authored
May 25, 2013
by
antirez
Browse files
Make sure that REPLCONF ACK really has no return value.
parent
0292c5f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/replication.c
View file @
dd0adbb7
...
@@ -601,6 +601,7 @@ void replconfCommand(redisClient *c) {
...
@@ -601,6 +601,7 @@ void replconfCommand(redisClient *c) {
c
->
repl_ack_off
=
offset
;
c
->
repl_ack_off
=
offset
;
c
->
repl_ack_time
=
server
.
unixtime
;
c
->
repl_ack_time
=
server
.
unixtime
;
/* Note: this command does not reply anything! */
/* Note: this command does not reply anything! */
return
;
}
else
{
}
else
{
addReplyErrorFormat
(
c
,
"Unrecognized REPLCONF option: %s"
,
addReplyErrorFormat
(
c
,
"Unrecognized REPLCONF option: %s"
,
(
char
*
)
c
->
argv
[
j
]
->
ptr
);
(
char
*
)
c
->
argv
[
j
]
->
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