diff options
author | antirez <antirez@gmail.com> | 2018-06-07 14:36:56 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2018-06-07 14:36:56 +0200 |
commit | a7dbe37d53075118c6db37848007df49ca69ce9a (patch) | |
tree | 11cf3ea5bddb3504bad9476bbcd221160c2894e4 /src/ziplist.c | |
parent | dfb3bf1b1e0b0a85fc18d4b721cbe73efbca2e3b (diff) | |
download | redis-a7dbe37d53075118c6db37848007df49ca69ce9a.tar.gz |
Typo: entires -> entries in several places.
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 ea27db7fb..90bb9c81e 100644 --- a/src/ziplist.c +++ b/src/ziplist.c @@ -27,7 +27,7 @@ * traversal. * * <uint16_t zllen> is the number of entries. When there are more than - * 2^16-2 entires, this value is set to 2^16-1 and we need to traverse the + * 2^16-2 entries, this value is set to 2^16-1 and we need to traverse the * entire list to know how many items it holds. * * <uint8_t zlend> is a special entry representing the end of the ziplist. @@ -256,7 +256,7 @@ #define ZIPLIST_ENTRY_END(zl) ((zl)+intrev32ifbe(ZIPLIST_BYTES(zl))-1) /* Increment the number of items field in the ziplist header. Note that this - * macro should never overflow the unsigned 16 bit integer, since entires are + * macro should never overflow the unsigned 16 bit integer, since entries are * always pushed one at a time. When UINT16_MAX is reached we want the count * to stay there to signal that a full scan is needed to get the number of * items inside the ziplist. */ |