X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/d5870d7ac3c4618bca373137559cb7c03c66e17d..3ca7532a2d20ea88109cd4f0c3c527c37e3fe52f:/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);