summaryrefslogtreecommitdiff
path: root/src/ziplist.c
diff options
context:
space:
mode:
authorMatt Stancliff <matt@genges.com>2014-07-31 14:51:05 -0400
committerMatt Stancliff <matt@genges.com>2014-09-29 06:49:07 -0400
commit12d0195b3013aff008bb492cf59f31d823f024b0 (patch)
tree08d5176b2c8c5c2e902bef0907f6c58563d2d264 /src/ziplist.c
parentfc8f7ec7656487b8f7dea14d33dbdbb2c6b6f470 (diff)
downloadredis-12d0195b3013aff008bb492cf59f31d823f024b0.tar.gz
Clean up text throughout project
- Remove trailing newlines from redis.conf - Fix comment misspelling - Clarifies zipEncodeLength usage and a C API mention (#1243, #1242) - Fix cluster typos (inspired by @papanikge #1507) - Fix rewite -> rewrite in a few places (inspired by #682) Closes #1243, #1242, #1507
Diffstat (limited to 'src/ziplist.c')
-rw-r--r--src/ziplist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ziplist.c b/src/ziplist.c
index 4a0111105..20c535927 100644
--- a/src/ziplist.c
+++ b/src/ziplist.c
@@ -183,7 +183,7 @@ static unsigned int zipIntSize(unsigned char encoding) {
return 0;
}
-/* Encode the length 'l' writing it in 'p'. If p is NULL it just returns
+/* Encode the length 'rawlen' writing it in 'p'. If p is NULL it just returns
* the amount of bytes required to encode such a length. */
static unsigned int zipEncodeLength(unsigned char *p, unsigned char encoding, unsigned int rawlen) {
unsigned char len = 1, buf[5];