Fix typo in dict.c.

This commit is contained in:
Kevin 2019-11-20 00:00:00 +08:00 committed by GitHub
parent e777b0295e
commit e58a9f7d52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
dict.c
View File

@ -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)