summaryrefslogtreecommitdiff
path: root/src/defrag.c
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2022-10-18 13:24:30 +0800
committerGitHub <noreply@github.com>2022-10-18 08:24:30 +0300
commita9d561afa5970a38b35be0c9cf23af5294bcedf0 (patch)
treea4b6782e5bbdf1fdb37f778e31068c7ec22fa5b0 /src/defrag.c
parent3193f086ca0e167e89b6c5cf14133c03213b8378 (diff)
downloadredis-a9d561afa5970a38b35be0c9cf23af5294bcedf0.tar.gz
Bump codespell from 2.2.1 to 2.2.2 in /.codespell (#11399)
And fix a few newly detected typo. Closes #11394
Diffstat (limited to 'src/defrag.c')
-rw-r--r--src/defrag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/defrag.c b/src/defrag.c
index a756f26b0..ced4fd20a 100644
--- a/src/defrag.c
+++ b/src/defrag.c
@@ -405,7 +405,7 @@ long activeDefragSdsListAndDict(list *l, dict *d, int dict_val_type) {
/* Utility function that replaces an old key pointer in the dictionary with a
* new pointer. Additionally, we try to defrag the dictEntry in that dict.
- * Oldkey mey be a dead pointer and should not be accessed (we get a
+ * Oldkey may be a dead pointer and should not be accessed (we get a
* pre-calculated hash value). Newkey may be null if the key pointer wasn't
* moved. Return value is the dictEntry if found, or NULL if not found.
* NOTE: this is very ugly code, but it let's us avoid the complication of