X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/d5870d7ac3c4618bca373137559cb7c03c66e17d..0b10e1044496699585b401196dd86e19a9f87cc4:/src/t_list.c?ds=sidebyside diff --git a/src/t_list.c b/src/t_list.c index c9ec2e67..9e659092 100644 --- a/src/t_list.c +++ b/src/t_list.c @@ -826,7 +826,7 @@ int handleClientsWaitingListPush(redisClient *c, robj *key, robj *ele) { addReplyBulk(receiver,ele); return 1; } else { - /* BRPOPLPUSH */ + /* BRPOPLPUSH, note that receiver->db is always equal to c->db. */ dstobj = lookupKeyWrite(receiver->db,dstkey); if (dstobj && checkType(receiver,dstobj,REDIS_LIST)) { decrRefCount(dstkey);