Clarify comment

This commit is contained in:
Pieter Noordhuis 2011-01-31 16:50:17 +01:00
parent d5870d7ac3
commit 554a5dd2fc

View File

@ -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);