diff options
author | Wayne Davison <wayned@samba.org> | 2014-04-19 16:26:35 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2014-04-19 16:26:35 -0700 |
commit | 43d6d0c5ba63e3a69717702a1d58ea6a04192bb4 (patch) | |
tree | 0b9cd307066640429ed58660f5771afcd3562c6d /generator.c | |
parent | 22a3ac0b5538ec6c1ff222570413cbdb74fef67b (diff) | |
download | android_external_rsync-43d6d0c5ba63e3a69717702a1d58ea6a04192bb4.tar.gz android_external_rsync-43d6d0c5ba63e3a69717702a1d58ea6a04192bb4.tar.bz2 android_external_rsync-43d6d0c5ba63e3a69717702a1d58ea6a04192bb4.zip |
Change args to file_checksum() to prepare for future changes.
Diffstat (limited to 'generator.c')
-rw-r--r-- | generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generator.c b/generator.c index 4dcc73a4..cd7205ee 100644 --- 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, sum, st->st_size); + file_checksum(fn, st, sum); return memcmp(sum, F_SUM(file), checksum_len) == 0; } |