summaryrefslogtreecommitdiff
path: root/src/dict.c
diff options
context:
space:
mode:
authorguiquanz <nantangguyun@gmail.com>2013-01-17 01:00:20 +0800
committerantirez <antirez@gmail.com>2013-01-19 11:03:19 +0100
commit1caf09399efbe2fcfa3a4e04b7fca6ea7a23a793 (patch)
tree190cd6996e4b600a4e67c398db17d8e7745138ca /src/dict.c
parentff1e4d22a67c9de04d3b26c5840e9b97095bfa64 (diff)
downloadredis-1caf09399efbe2fcfa3a4e04b7fca6ea7a23a793.tar.gz
Fixed many typos.
Conflicts fixed, mainly because 2.8 has no cluster support / files: 00-RELEASENOTES src/cluster.c src/crc16.c src/redis-trib.rb src/redis.h
Diffstat (limited to 'src/dict.c')
-rw-r--r--src/dict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dict.c b/src/dict.c
index d7376eb78..c6a1b88cf 100644
--- a/src/dict.c
+++ b/src/dict.c
@@ -610,7 +610,7 @@ static int _dictExpandIfNeeded(dict *d)
/* Incremental rehashing already in progress. Return. */
if (dictIsRehashing(d)) return DICT_OK;
- /* 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 (d->ht[0].size == 0) return dictExpand(d, DICT_HT_INITIAL_SIZE);
/* If we reached the 1:1 ratio, and we are allowed to resize the hash