RESP3: Use new aggregate reply API in cluster.c.

This commit is contained in:
antirez
2018-11-23 12:40:01 +01:00
parent c7f80e4f1a
commit dcbd40cea4
4 changed files with 16 additions and 16 deletions

View File

@ -505,7 +505,7 @@ void sortCommand(client *c) {
addReplyError(c,"One or more scores can't be converted into double");
} else if (storekey == NULL) {
/* STORE option not specified, sent the sorting result to client */
addReplyMultiBulkLen(c,outputlen);
addReplyArrayLen(c,outputlen);
for (j = start; j <= end; j++) {
listNode *ln;
listIter li;