diff options
author | antirez <antirez@gmail.com> | 2011-09-12 10:04:23 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2011-09-12 10:06:00 +0200 |
commit | 4793a2c3c362f211850fc2093d0c862649d7a434 (patch) | |
tree | 0d40a99f7708b2d5685e99497a48f818213c784a | |
parent | 1d05b53fcc0e02d096f5952ae15917e544e01f7c (diff) | |
download | redis-4793a2c3c362f211850fc2093d0c862649d7a434.tar.gz |
fixed typos in the comments of rpoplpushHandlePush()
-rw-r--r-- | src/t_list.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/t_list.c b/src/t_list.c index a40709cd4..64e917a41 100644 --- a/src/t_list.c +++ b/src/t_list.c @@ -648,10 +648,12 @@ void rpoplpushHandlePush(redisClient *origclient, redisClient *c, robj *dstkey, } listTypePush(dstobj,value,REDIS_HEAD); /* If we are pushing as a result of LPUSH against a key - * watched by BLPOPLPUSH, we need to rewrite the command vector. - * But if this is called directly by RPOPLPUSH (either directly + * watched by BRPOPLPUSH, we need to rewrite the command vector + * as an LPUSH. + * + * If this is called directly by RPOPLPUSH (either directly * or via a BRPOPLPUSH where the popped list exists) - * we should replicate the BRPOPLPUSH command itself. */ + * we should replicate the RPOPLPUSH command itself. */ if (c != origclient) { aux = createStringObject("LPUSH",5); rewriteClientCommandVector(origclient,3,aux,dstkey,value); |