summaryrefslogtreecommitdiff
path: root/src/listpack.c
diff options
context:
space:
mode:
authorBonsai <LetBonsaiBe@gmail.com>2021-04-14 20:46:54 +0800
committerGitHub <noreply@github.com>2021-04-14 15:46:54 +0300
commit07601b7e0737446d9a678623d1afa24ac8a1d20e (patch)
treecc6fa725954844d8cac36df6e2842af787bea6b3 /src/listpack.c
parent645c664fbbaad462f482328818c42cf7460805be (diff)
downloadredis-07601b7e0737446d9a678623d1afa24ac8a1d20e.tar.gz
fix typo, stracture to structure (#8784)
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 a2255f0d7..ee256bad3 100644
--- a/src/listpack.c
+++ b/src/listpack.c
@@ -908,7 +908,7 @@ int lpValidateNext(unsigned char *lp, unsigned char **pp, size_t lpbytes) {
#undef OUT_OF_RANGE
}
-/* Validate the integrity of the data stracture.
+/* Validate the integrity of the data structure.
* when `deep` is 0, only the integrity of the header is validated.
* when `deep` is 1, we scan all the entries one by one. */
int lpValidateIntegrity(unsigned char *lp, size_t size, int deep){