diff options
author | Wayne Davison <wayned@samba.org> | 2004-08-03 08:05:27 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2004-08-03 08:05:27 +0000 |
commit | 96d910c770b9443e204e183d3f3a8720c346a79c (patch) | |
tree | c6ff0677f96ee6c9c7dae75b8ffcf7ac62b90927 /checksum.c | |
parent | 7560c17adc73f1f1407f9453c00ddef185d1aad3 (diff) | |
download | android_external_rsync-96d910c770b9443e204e183d3f3a8720c346a79c.tar.gz android_external_rsync-96d910c770b9443e204e183d3f3a8720c346a79c.tar.bz2 android_external_rsync-96d910c770b9443e204e183d3f3a8720c346a79c.zip |
Call map_file() with its new args, including a suggested window
size.
Diffstat (limited to 'checksum.c')
-rw-r--r-- | checksum.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -102,7 +102,7 @@ void file_checksum(char *fname,char *sum,OFF_T size) if (fd == -1) return; - buf = map_file(fd, size, CSUM_CHUNK); + buf = map_file(fd, size, CSUM_CHUNK * 2048, 0); mdfour_begin(&m); |