mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-04-04 22:44:24 -04:00
Changed a MIN() to a MAX() when setting max_map_size.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user