diff options
author | Pierre Chapuis <catwell@archlinux.us> | 2013-01-28 11:07:17 +0100 |
---|---|---|
committer | Pierre Chapuis <catwell@archlinux.us> | 2013-01-28 11:07:17 +0100 |
commit | 50d43a9823be553a393127bc45e507d3a60982d7 (patch) | |
tree | fb7fce1799f2f791b4cb8556a3b39079c54f4dcd /src/ziplist.c | |
parent | 61853a9c758bc9d368d4610c0f89387c95b9301d (diff) | |
download | redis-50d43a9823be553a393127bc45e507d3a60982d7.tar.gz |
fix comments forgotten in #285 (zipmap -> ziplist)
Diffstat (limited to 'src/ziplist.c')
-rw-r--r-- | src/ziplist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ziplist.c b/src/ziplist.c index d4ac4f9b4..8a6b54a7c 100644 --- a/src/ziplist.c +++ b/src/ziplist.c @@ -739,10 +739,10 @@ unsigned char *ziplistPrev(unsigned char *zl, unsigned char *p) { } } -/* Get entry pointer to by 'p' and store in either 'e' or 'v' depending +/* Get entry pointed to by 'p' and store in either 'e' or 'v' depending * on the encoding of the entry. 'e' is always set to NULL to be able * to find out whether the string pointer or the integer value was set. - * Return 0 if 'p' points to the end of the zipmap, 1 otherwise. */ + * Return 0 if 'p' points to the end of the ziplist, 1 otherwise. */ unsigned int ziplistGet(unsigned char *p, unsigned char **sstr, unsigned int *slen, long long *sval) { zlentry entry; if (p == NULL || p[0] == ZIP_END) return 0; |