git.samba.org
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change args to file_checksum() to prepare for future changes.
[rsync.git]
/
generator.c
diff --git
a/generator.c
b/generator.c
index 4dcc73a4198305e632a43fe69a1b57febbd3cd75..cd7205ee5431a60f83ed464560fb646506fd88cf 100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-572,7
+572,7
@@
int unchanged_file(char *fn, struct file_struct *file, STRUCT_STAT *st)
of the file time to determine whether to sync */
if (always_checksum > 0 && S_ISREG(st->st_mode)) {
char sum[MAX_DIGEST_LEN];
- file_checksum(fn, s
um, st->st_size
);
+ file_checksum(fn, s
t, sum
);
return memcmp(sum, F_SUM(file), checksum_len) == 0;
}