Commit 554a5dd2 authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Clarify comment

parent d5870d7a
...@@ -826,7 +826,7 @@ int handleClientsWaitingListPush(redisClient *c, robj *key, robj *ele) { ...@@ -826,7 +826,7 @@ int handleClientsWaitingListPush(redisClient *c, robj *key, robj *ele) {
addReplyBulk(receiver,ele); addReplyBulk(receiver,ele);
return 1; return 1;
} else { } else {
/* BRPOPLPUSH */ /* BRPOPLPUSH, note that receiver->db is always equal to c->db. */
dstobj = lookupKeyWrite(receiver->db,dstkey); dstobj = lookupKeyWrite(receiver->db,dstkey);
if (dstobj && checkType(receiver,dstobj,REDIS_LIST)) { if (dstobj && checkType(receiver,dstobj,REDIS_LIST)) {
decrRefCount(dstkey); decrRefCount(dstkey);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment