From c3bf646ef34e7fca0c58b87ef308ed975e53e7e6 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 7 Dec 2018 16:42:49 +0100 Subject: [PATCH] RESP3: fix DEBUG DIGEST-VALUE with new API. --- src/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug.c b/src/debug.c index 1ec7c4977..2391f7377 100644 --- a/src/debug.c +++ b/src/debug.c @@ -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. */ - addReplyMultiBulkLen(c,c->argc-2); + addReplyArrayLen(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 */