diff options
author | Wayne Davison <wayne@opencoder.net> | 2023-04-29 07:45:52 -0700 |
---|---|---|
committer | Wayne Davison <wayne@opencoder.net> | 2023-04-29 07:56:27 -0700 |
commit | fe95a9369ac7a1d8d47b036094f91946cacccf53 (patch) | |
tree | 2f6db2fefbe5e0f8e2df2b0b374f9f2f476bdfb6 /receiver.c | |
parent | 6ae7f4085a5012038c29ae1c70f626cae7714b69 (diff) | |
download | rsync-fe95a9369ac7a1d8d47b036094f91946cacccf53.tar.gz |
Fix issue with trailing --sparse --inplace blocks.
Fixes #450.
Diffstat (limited to 'receiver.c')
-rw-r--r-- | receiver.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -372,7 +372,7 @@ static int receive_data(int f_in, char *fname_r, int fd_r, OFF_T size_r, if (fd != -1 && offset > 0) { if (sparse_files > 0) { - if (sparse_end(fd, offset) != 0) + if (sparse_end(fd, offset, updating_basis_or_equiv) != 0) goto report_write_error; } else if (flush_write_file(fd) < 0) { report_write_error: |