Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
5d0568d9
Unverified
Commit
5d0568d9
authored
Nov 19, 2019
by
Michael Grunder
Committed by
GitHub
Nov 19, 2019
Browse files
Merge pull request #731 from Kevin-Xi/patch-1
Fix typo in dict.c.
parents
e777b029
e58a9f7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
dict.c
View file @
5d0568d9
...
...
@@ -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" do
b
ule its size. */
* if the table is "full" dou
b
le its size. */
if
(
ht
->
size
==
0
)
return
dictExpand
(
ht
,
DICT_HT_INITIAL_SIZE
);
if
(
ht
->
used
==
ht
->
size
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment