diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2014-12-09 15:57:17 +0100 |
---|---|---|
committer | Salvatore Sanfilippo <antirez@gmail.com> | 2014-12-09 15:57:17 +0100 |
commit | d2aa91ce1f5431f8df4499010e6f6dd742bd2531 (patch) | |
tree | 94bc45a16009440635479880584a8ef29427b8a1 /src | |
parent | 562e72943bab6a85e5cbf90f46cd880d80863e4a (diff) | |
parent | 9e579d91ccab01e78c8be46ae74b13e4058bac9d (diff) | |
download | redis-d2aa91ce1f5431f8df4499010e6f6dd742bd2531.tar.gz |
Merge pull request #2165 from sunheehnus/zipmap-read
zipmap.c: update comments above
Diffstat (limited to 'src')
-rw-r--r-- | src/zipmap.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/zipmap.c b/src/zipmap.c index 803fedeec..384b76bba 100644 --- a/src/zipmap.c +++ b/src/zipmap.c @@ -51,10 +51,9 @@ * <len> is the length of the following string (key or value). * <len> lengths are encoded in a single value or in a 5 bytes value. * If the first byte value (as an unsigned 8 bit value) is between 0 and - * 252, it's a single-byte length. If it is 253 then a four bytes unsigned + * 253, it's a single-byte length. If it is 254 then a four bytes unsigned * integer follows (in the host byte ordering). A value of 255 is used to - * signal the end of the hash. The special value 254 is used to mark - * empty space that can be used to add new key/value pairs. + * signal the end of the hash. * * <free> is the number of free unused bytes after the string, resulting * from modification of values associated to a key. For instance if "foo" |