diff options
| author | Andrew Tridgell <tridge@samba.org> | 1996-06-27 05:16:15 +0000 |
|---|---|---|
| committer | Andrew Tridgell <tridge@samba.org> | 1996-06-27 05:16:15 +0000 |
| commit | 43a481dc5586a16af249fbae611b36442bed6a8c (patch) | |
| tree | e4aa19da93a18e0c67ed487862f8676f417a272d /compat.c | |
| parent | 4fe159a81d1f0c39aaa7f05dbb33b36d231e7c80 (diff) | |
| download | android_external_rsync-43a481dc5586a16af249fbae611b36442bed6a8c.tar.gz android_external_rsync-43a481dc5586a16af249fbae611b36442bed6a8c.tar.bz2 android_external_rsync-43a481dc5586a16af249fbae611b36442bed6a8c.zip | |
added csum-length option
Diffstat (limited to 'compat.c')
| -rw-r--r-- | compat.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -21,6 +21,8 @@ #include "rsync.h" +extern int csum_length; + extern int preserve_links; extern int preserve_perms; extern int preserve_devices; @@ -93,7 +95,7 @@ void send_file_entry_v10(struct file_struct *file,int f) #endif if (always_checksum) { - write_buf(f,file->sum,SUM_LENGTH); + write_buf(f,file->sum,csum_length); } last_mode = file->mode; @@ -159,7 +161,7 @@ void receive_file_entry_v10(struct file_struct *file, #endif if (always_checksum) - read_buf(f,file->sum,SUM_LENGTH); + read_buf(f,file->sum,csum_length); last_mode = file->mode; last_dev = file->dev; |
