summaryrefslogtreecommitdiff
path: root/src/listpack.c
diff options
context:
space:
mode:
authora2tt <usera2tt@gmail.com>2022-03-09 20:58:23 +0900
committerGitHub <noreply@github.com>2022-03-09 13:58:23 +0200
commit86ca9b25e22174ef6a5ce7b54b85b100bb4bc919 (patch)
treeb0ba222f598bf2abde3abb8102baddcb1f75b80a /src/listpack.c
parent24da71e50740bc0dec2a78b18475665f11af6b95 (diff)
downloadredis-86ca9b25e22174ef6a5ce7b54b85b100bb4bc919.tar.gz
fix typos (#10402)
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 450976e2c..e651e4960 100644
--- a/src/listpack.c
+++ b/src/listpack.c
@@ -958,7 +958,7 @@ unsigned char *lpPrependInteger(unsigned char *lp, long long lval) {
return lpInsertInteger(lp, lval, p, LP_BEFORE, NULL);
}
-/* Append the specified element 'ele' of length 'len' at the end of the
+/* Append the specified element 'ele' of length 'size' at the end of the
* listpack. It is implemented in terms of lpInsert(), so the return value is
* the same as lpInsert(). */
unsigned char *lpAppend(unsigned char *lp, unsigned char *ele, uint32_t size) {