diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2011-01-31 16:50:17 +0100 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2011-01-31 16:50:17 +0100 |
commit | bbaf76ea2f8124f3e68ba4a2558695630a502e03 (patch) | |
tree | 6ff83d6086a83858274aa13cf2f311b1cbec63cb | |
parent | 669f302e16188342041db4b671aa4cc7ea05ba50 (diff) | |
download | redis-bbaf76ea2f8124f3e68ba4a2558695630a502e03.tar.gz |
Clarify comment
-rw-r--r-- | src/t_list.c | 2 |
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); |