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