summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSun He <sunheehnus@gmail.com>2014-11-25 21:58:05 +0800
committerantirez <antirez@gmail.com>2014-12-09 16:01:11 +0100
commit2f52a1191fe983ed001d965f82c8483381cc6da6 (patch)
tree666f4ff03e69ff17538a917689e9e814c7ce9442
parentc86b031572aa815726be0d51b4649985d25c69d4 (diff)
downloadredis-2f52a1191fe983ed001d965f82c8483381cc6da6.tar.gz
zipmap.c: update comments above
-rw-r--r--src/zipmap.c5
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"