summaryrefslogtreecommitdiff
path: root/src/listpack.c
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2023-03-16 14:50:32 +0800
committerGitHub <noreply@github.com>2023-03-16 08:50:32 +0200
commit0b159b34ea0832f6589b8ee71b44dce7010e7504 (patch)
tree0b61a7a130b63dc6612348c37d3a1ac308276b1c /src/listpack.c
parentf8a5a4f70ccada85943af90f6f2db3250ee50b27 (diff)
downloadredis-0b159b34ea0832f6589b8ee71b44dce7010e7504.tar.gz
Bump codespell to 2.2.4, fix typos and outupdated comments (#11911)
Fix some seen typos and wrong comments.
Diffstat (limited to 'src/listpack.c')
-rw-r--r--src/listpack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listpack.c b/src/listpack.c
index 8b3209be2..f7c867f2e 100644
--- a/src/listpack.c
+++ b/src/listpack.c
@@ -732,7 +732,7 @@ unsigned char *lpFind(unsigned char *lp, unsigned char *p, unsigned char *s,
/* Skip entry */
skipcnt--;
- /* Move to next entry, avoid use `lpNext` due to `ASSERT_INTEGRITY` in
+ /* Move to next entry, avoid use `lpNext` due to `lpAssertValidEntry` in
* `lpNext` will call `lpBytes`, will cause performance degradation */
p = lpSkip(p);
}