Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61fb21a
)
Changed a MIN() to a MAX() when setting max_map_size.
author
Wayne Davison
<wayned@samba.org>
Sat, 17 Jul 2004 10:59:14 +0000
(10:59 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 17 Jul 2004 10:59:14 +0000
(10:59 +0000)
generator.c
patch
|
blob
|
blame
|
history
diff --git
a/generator.c
b/generator.c
index
72b6905
..
4ea7d32
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-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 = M
IN
(MAX_MAP_SIZE, blength * 32);
+ max_map_size = M
AX
(MAX_MAP_SIZE, blength * 32);
if (protocol_version < 27) {
s2length = csum_length;