summaryrefslogtreecommitdiff
path: root/src/quicklist.h
diff options
context:
space:
mode:
authorhujiecs <2844633656@qq.com>2018-10-16 15:48:03 +0800
committerhujiecs <2844633656@qq.com>2018-10-16 15:48:03 +0800
commit297950e8b817dbf3f2dbbbff497fdf3a047cc8f2 (patch)
tree0429b3008cf4e809145e4e87746c520b1fee6c2f /src/quicklist.h
parent1caabd59b2f746f7c35900486c072e35898cb232 (diff)
downloadredis-297950e8b817dbf3f2dbbbff497fdf3a047cc8f2.tar.gz
several typos fixed, optimize MSETNX to avoid unnecessary loop
Diffstat (limited to 'src/quicklist.h')
-rw-r--r--src/quicklist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quicklist.h b/src/quicklist.h
index 955a22cfa..a7e27a2dd 100644
--- a/src/quicklist.h
+++ b/src/quicklist.h
@@ -40,7 +40,7 @@
* container: 2 bits, NONE=1, ZIPLIST=2.
* recompress: 1 bit, bool, true if node is temporarry decompressed for usage.
* attempted_compress: 1 bit, boolean, used for verifying during testing.
- * extra: 12 bits, free for future use; pads out the remainder of 32 bits */
+ * extra: 10 bits, free for future use; pads out the remainder of 32 bits */
typedef struct quicklistNode {
struct quicklistNode *prev;
struct quicklistNode *next;