Unverified Commit 98f39a37 authored by xhe's avatar xhe Committed by GitHub
Browse files

simplify


Co-authored-by: default avatarOran Agra <oran@redislabs.com>
parent 723b4a15
......@@ -2769,7 +2769,7 @@ void helloCommand(client *c) {
return;
}
for (int j = !ver ? 1 : 2; j < c->argc; j++) {
for (int j = next_arg; j < c->argc; j++) {
int moreargs = (c->argc-1) - j;
const char *opt = c->argv[j]->ptr;
if (!strcasecmp(opt,"AUTH") && moreargs >= 2) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment