mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 16:51:22 +00:00
Use specialized function to add multi bulk reply length
This commit is contained in:
@ -307,7 +307,7 @@ void sortCommand(redisClient *c) {
|
||||
outputlen = getop ? getop*(end-start+1) : end-start+1;
|
||||
if (storekey == NULL) {
|
||||
/* STORE option not specified, sent the sorting result to client */
|
||||
addReplySds(c,sdscatprintf(sdsempty(),"*%d\r\n",outputlen));
|
||||
addReplyMultiBulkLen(c,outputlen);
|
||||
for (j = start; j <= end; j++) {
|
||||
listNode *ln;
|
||||
listIter li;
|
||||
|
Reference in New Issue
Block a user