summaryrefslogtreecommitdiff
path: root/src/zipmap.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/zipmap.c
parent645c664fbbaad462f482328818c42cf7460805be (diff)
downloadredis-07601b7e0737446d9a678623d1afa24ac8a1d20e.tar.gz
fix typo, stracture to structure (#8784)
Diffstat (limited to 'src/zipmap.c')
-rw-r--r--src/zipmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zipmap.c b/src/zipmap.c
index 2ee82c2c9..c24e81355 100644
--- a/src/zipmap.c
+++ b/src/zipmap.c
@@ -374,7 +374,7 @@ size_t zipmapBlobLen(unsigned char *zm) {
return totlen;
}
-/* 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 zipmapValidateIntegrity(unsigned char *zm, size_t size, int deep) {