diff options
author | antirez <antirez@gmail.com> | 2018-11-30 16:36:55 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2019-01-09 17:00:29 +0100 |
commit | 3fd78f41e868c4ecf5b1a3b238dfb2ebe81ff579 (patch) | |
tree | 865023a68278b11d1cd77cc77c0a20d313a753f9 /src/t_list.c | |
parent | 2ad6e875ba0db0a1d2f78df2b7e651010137b576 (diff) | |
download | redis-3fd78f41e868c4ecf5b1a3b238dfb2ebe81ff579.tar.gz |
RESP3: restore the concept of null array for RESP2 compat.
Diffstat (limited to 'src/t_list.c')
-rw-r--r-- | src/t_list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/t_list.c b/src/t_list.c index d6daad691..451ffb4b5 100644 --- a/src/t_list.c +++ b/src/t_list.c @@ -731,7 +731,7 @@ void blockingPopGenericCommand(client *c, int where) { /* If we are inside a MULTI/EXEC and the list is empty the only thing * we can do is treating it as a timeout (even with timeout 0). */ if (c->flags & CLIENT_MULTI) { - addReplyNull(c); + addReplyNullArray(c); return; } |