Unverified Commit 5d0568d9 authored by Michael Grunder's avatar Michael Grunder Committed by GitHub
Browse files

Merge pull request #731 from Kevin-Xi/patch-1

Fix typo in dict.c.
parents e777b029 e58a9f7d
...@@ -294,7 +294,7 @@ static void dictReleaseIterator(dictIterator *iter) { ...@@ -294,7 +294,7 @@ static void dictReleaseIterator(dictIterator *iter) {
/* Expand the hash table if needed */ /* Expand the hash table if needed */
static int _dictExpandIfNeeded(dict *ht) { static int _dictExpandIfNeeded(dict *ht) {
/* If the hash table is empty expand it to the initial size, /* 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) if (ht->size == 0)
return dictExpand(ht, DICT_HT_INITIAL_SIZE); return dictExpand(ht, DICT_HT_INITIAL_SIZE);
if (ht->used == ht->size) if (ht->used == ht->size)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment