summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin <kevin.xgr@gmail.com>2019-11-20 00:00:00 +0800
committerGitHub <noreply@github.com>2019-11-20 00:00:00 +0800
commite58a9f7d52fd324a9b05b7354256d26b7b79edd5 (patch)
treed66d472f171191f45cbeb8bf3e6bf715d858a2e3
parente777b0295eeeda89ee2ecef6ec5cb54889033d94 (diff)
Fix typo in dict.c.
-rw-r--r--dict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dict.c b/dict.c
index e17a625..5b349f0 100644
--- a/dict.c
+++ b/dict.c
@@ -294,7 +294,7 @@ static void dictReleaseIterator(dictIterator *iter) {
/* Expand the hash table if needed */
static int _dictExpandIfNeeded(dict *ht) {
/* If the hash table is empty expand it to the initial size,
- * if the table is "full" dobule its size. */
+ * if the table is "full" double its size. */
if (ht->size == 0)
return dictExpand(ht, DICT_HT_INITIAL_SIZE);
if (ht->used == ht->size)