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
c07d3bd8
Unverified
Commit
c07d3bd8
authored
Dec 24, 2020
by
xhe
Committed by
GitHub
Dec 24, 2020
Browse files
simplify
Co-authored-by:
Oran Agra
<
oran@redislabs.com
>
parent
456c347d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/networking.c
View file @
c07d3bd8
...
...
@@ -2761,6 +2761,7 @@ NULL
/* HELLO [protocol-version] [AUTH <user> <password>] [SETNAME <name>] */
void helloCommand(client *c) {
long long ver = 0;
int next_arg = 1;
if (c->argc >= 2 && getLongLongFromObject(c->argv[1],&ver) == C_OK &&
(ver < 2 || ver > 3)) {
...
...
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