summaryrefslogtreecommitdiff
path: root/src/listpack.c
diff options
context:
space:
mode:
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) {