summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2011-01-31 16:50:17 +0100
committerPieter Noordhuis <pcnoordhuis@gmail.com>2011-01-31 16:50:17 +0100
commitbbaf76ea2f8124f3e68ba4a2558695630a502e03 (patch)
tree6ff83d6086a83858274aa13cf2f311b1cbec63cb /src
parent669f302e16188342041db4b671aa4cc7ea05ba50 (diff)
downloadredis-bbaf76ea2f8124f3e68ba4a2558695630a502e03.tar.gz
Clarify comment
Diffstat (limited to 'src')
-rw-r--r--src/t_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/t_list.c b/src/t_list.c
index f94fb425e..47c927db7 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);