summaryrefslogtreecommitdiff
path: root/deps/hiredis/dict.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2016-12-21 12:11:56 +0100
committerantirez <antirez@gmail.com>2016-12-21 12:12:36 +0100
commit6712bce92c79de5c2caa38e9b597a3fa52fd497f (patch)
tree1de4191534a6f7a0cb30f1efaee2a7af4fb334e0 /deps/hiredis/dict.c
parent0b7691201e255ed21a0fdf6779199de0d7c1498c (diff)
downloadredis-6712bce92c79de5c2caa38e9b597a3fa52fd497f.tar.gz
deps/hiredis updated to latest version.
Close #3687.
Diffstat (limited to 'deps/hiredis/dict.c')
-rw-r--r--deps/hiredis/dict.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/hiredis/dict.c b/deps/hiredis/dict.c
index 79b1041ca..e17a62546 100644
--- a/deps/hiredis/dict.c
+++ b/deps/hiredis/dict.c
@@ -161,7 +161,7 @@ static int dictReplace(dict *ht, void *key, void *val) {
dictEntry *entry, auxentry;
/* Try to add the element. If the key
- * does not exists dictAdd will suceed. */
+ * does not exists dictAdd will succeed. */
if (dictAdd(ht, key, val) == DICT_OK)
return 1;
/* It already exists, get the entry */
@@ -293,7 +293,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 intial size,
+ /* If the hash table is empty expand it to the initial size,
* if the table is "full" dobule its size. */
if (ht->size == 0)
return dictExpand(ht, DICT_HT_INITIAL_SIZE);