Changed a MIN() to a MAX() when setting max_map_size.

This commit is contained in:
Wayne Davison committed 2004-07-17 10:59:14 +00:00
1 parent 61fb21ad28
commit 5126ed1ef0
1 file changed
+1 -1
+1 -1
View File
@@ -165,7 +165,7 @@ static void sum_sizes_sqroot(struct sum_struct *sum, uint64 len)
blength = MAX(blength, BLOCK_SIZE);
blength = MIN(blength, MAX_MAP_SIZE);
}
max_map_size = MIN(MAX_MAP_SIZE, blength * 32);
max_map_size = MAX(MAX_MAP_SIZE, blength * 32);
if (protocol_version < 27) {
s2length = csum_length;