summaryrefslogtreecommitdiff
path: root/src/defrag.c
diff options
context:
space:
mode:
author蔡相跃 <caixiangyue007@gmail.com>2022-03-09 19:55:17 +0800
committerGitHub <noreply@github.com>2022-03-09 13:55:17 +0200
commit24da71e50740bc0dec2a78b18475665f11af6b95 (patch)
tree2c71558ec5d42fe239ed1bd62e0144e8795a4704 /src/defrag.c
parentadc5a3217c48dbe882b19d619eabd9b34f58496d (diff)
downloadredis-24da71e50740bc0dec2a78b18475665f11af6b95.tar.gz
Fix typo "the the" (#10399)
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 d4983c6d5..6a4f9f633 100644
--- a/src/defrag.c
+++ b/src/defrag.c
@@ -407,7 +407,7 @@ long activeDefragSdsListAndDict(list *l, dict *d, int dict_val_type) {
* 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
* pre-calculated hash value). Newkey may be null if the key pointer wasn't
- * moved. Return value is the the dictEntry if found, or NULL if not found.
+ * 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
* doing a scan on another dict. */
dictEntry* replaceSatelliteDictKeyPtrAndOrDefragDictEntry(dict *d, sds oldkey, sds newkey, uint64_t hash, long *defragged) {