diff options
author | antirez <antirez@gmail.com> | 2018-11-30 09:41:54 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2019-01-09 17:00:29 +0100 |
commit | 317f8b9d383f1b7f171aef7ea29f9e05abf0ba83 (patch) | |
tree | 28f4ca9efb35812f013ac459b18cc5e861591032 /src/sort.c | |
parent | 1b7298e66ae002b9011c22d8270436506a9dc9b1 (diff) | |
download | redis-317f8b9d383f1b7f171aef7ea29f9e05abf0ba83.tar.gz |
RESP3: most null replies converted.
Diffstat (limited to 'src/sort.c')
-rw-r--r-- | src/sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort.c b/src/sort.c index 322f02726..8608cd8b3 100644 --- a/src/sort.c +++ b/src/sort.c @@ -519,7 +519,7 @@ void sortCommand(client *c) { if (sop->type == SORT_OP_GET) { if (!val) { - addReply(c,shared.nullbulk); + addReplyNull(c); } else { addReplyBulk(c,val); decrRefCount(val); |