Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added parsing for --delete-delay.
[rsync/rsync.git]
/
generator.c
diff --git
a/generator.c
b/generator.c
index
453cff5
..
ffd8ab7
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-526,8
+526,8
@@
static void sum_sizes_sqroot(struct sum_struct *sum, int64 len)
sum->flength = len;
sum->blength = blength;
sum->s2length = s2length;
sum->flength = len;
sum->blength = blength;
sum->s2length = s2length;
- sum->remainder =
len % blength
;
- sum->count =
len / blength
+ (sum->remainder != 0);
+ sum->remainder =
(int32)(len % blength)
;
+ sum->count =
(int32)(len / blength)
+ (sum->remainder != 0);
if (sum->count && verbose > 2) {
rprintf(FINFO,
if (sum->count && verbose > 2) {
rprintf(FINFO,