mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 16:51:22 +00:00
Fix case in RPOPLPUSH.
This commit is contained in:
committed by
Michel Martens
parent
d8d528e992
commit
8a979f0390
@ -618,7 +618,7 @@ void lremCommand(redisClient *c) {
|
||||
* since the element is not just returned but pushed against another list
|
||||
* as well. This command was originally proposed by Ezra Zygmuntowicz.
|
||||
*/
|
||||
void rpoplpushcommand(redisClient *c) {
|
||||
void rpoplpushCommand(redisClient *c) {
|
||||
robj *sobj, *value;
|
||||
if ((sobj = lookupKeyWriteOrReply(c,c->argv[1],shared.nullbulk)) == NULL ||
|
||||
checkType(c,sobj,REDIS_LIST)) return;
|
||||
|
Reference in New Issue
Block a user