summaryrefslogtreecommitdiff
path: root/src/sort.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2018-11-23 12:40:01 +0100
committerantirez <antirez@gmail.com>2019-01-09 17:00:29 +0100
commitdcbd40cea4497936e20100f14bf7ad4b010d1803 (patch)
tree91f5bf5963f880afa23ba696e6cf35127711de1d /src/sort.c
parentc7f80e4f1a6374b3ea3791fb6f80bcaba09e1604 (diff)
downloadredis-dcbd40cea4497936e20100f14bf7ad4b010d1803.tar.gz
RESP3: Use new aggregate reply API in cluster.c.
Diffstat (limited to 'src/sort.c')
-rw-r--r--src/sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort.c b/src/sort.c
index 4b300d868..322f02726 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -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;