Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
c3bf646e
Commit
c3bf646e
authored
Dec 07, 2018
by
antirez
Browse files
RESP3: fix DEBUG DIGEST-VALUE with new API.
parent
62b2642c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/debug.c
View file @
c3bf646e
...
...
@@ -517,7 +517,7 @@ NULL
sdsfree(d);
} else if (!strcasecmp(c->argv[1]->ptr,"digest-value") && c->argc >= 2) {
/* DEBUG DIGEST-VALUE key key key ... key. */
addReply
MultiBulk
Len
(
c
,
c
->
argc
-
2
);
addReply
Array
Len(c,c->argc-2);
for (int j = 2; j < c->argc; j++) {
unsigned char digest[20];
memset(digest,0,20); /* Start with a clean result */
...
...
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