Fix check to increase hashtable size properly
This commit is contained in:
1 parent
b49d047bfc
commit
bf3e482141
1 file changed
+1
-1
@@ -186,7 +186,7 @@ static void rehash(private_hashtable_t *this)
|
||||
linked_list_t **old_table;
|
||||
u_int row, old_capacity;
|
||||
|
||||
if (this->capacity < MAX_CAPACITY)
|
||||
if (this->capacity >= MAX_CAPACITY)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user