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
456c347d
Unverified
Commit
456c347d
authored
Dec 24, 2020
by
xhe
Committed by
GitHub
Dec 24, 2020
Browse files
simplify
Co-authored-by:
Oran Agra
<
oran@redislabs.com
>
parent
60f13e7a
Changes
1
Show whitespace changes
Inline
Side-by-side
src/networking.c
View file @
456c347d
...
@@ -2796,7 +2796,7 @@ void helloCommand(client *c) {
...
@@ -2796,7 +2796,7 @@ void helloCommand(client *c) {
}
}
/* Let's switch to the specified RESP mode. */
/* Let's switch to the specified RESP mode. */
if
(
!!
ver
)
c
->
resp
=
ver
;
if
(
ver
)
c
->
resp
=
ver
;
addReplyMapLen
(
c
,
6
+
!
server
.
sentinel_mode
);
addReplyMapLen
(
c
,
6
+
!
server
.
sentinel_mode
);
addReplyBulkCString
(
c
,
"server"
);
addReplyBulkCString
(
c
,
"server"
);
...
...
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