diff options
author | antirez <antirez@gmail.com> | 2018-11-30 10:40:54 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2018-12-21 11:42:51 +0100 |
commit | e47294c7c1910383c04411b1b8e35ee895a369d0 (patch) | |
tree | 64e98f27e4d32b2f914e6152ef4cf4b2418c95b6 | |
parent | 4ce3e85e470380335c7bec5e978a09dd3302c934 (diff) | |
download | redis-e47294c7c1910383c04411b1b8e35ee895a369d0.tar.gz |
RESP3: bitops.c updated.
-rw-r--r-- | src/bitops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bitops.c b/src/bitops.c index 23f2266a7..8d03a7699 100644 --- a/src/bitops.c +++ b/src/bitops.c @@ -1002,7 +1002,7 @@ void bitfieldCommand(client *c) { highest_write_offset)) == NULL) return; } - addReplyMultiBulkLen(c,numops); + addReplyArrayLen(c,numops); /* Actually process the operations. */ for (j = 0; j < numops; j++) { @@ -1047,7 +1047,7 @@ void bitfieldCommand(client *c) { setSignedBitfield(o->ptr,thisop->offset, thisop->bits,newval); } else { - addReply(c,shared.nullbulk); + addReplyNull(c); } } else { uint64_t oldval, newval, wrapped, retval; @@ -1076,7 +1076,7 @@ void bitfieldCommand(client *c) { setUnsignedBitfield(o->ptr,thisop->offset, thisop->bits,newval); } else { - addReply(c,shared.nullbulk); + addReplyNull(c); } } changes++; |