Fix check to increase hashtable size properly

This commit is contained in:
Martin Willi
2011-02-03 17:08:53 +01:00
parent b49d047bfc
commit bf3e482141
+1 -1
View File
@@ -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;
}