diff options
author | Wayne Davison <wayned@samba.org> | 2006-12-28 07:54:04 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2006-12-28 07:54:04 +0000 |
commit | 18233a170eb92412033ca9e1f7be341ffb4e31b3 (patch) | |
tree | d35061503220a86e673d3629b10eff05a9ffe504 /fileio.c | |
parent | 283887d7779e424a5f0a833f313df96a28f850bc (diff) | |
download | rsync-18233a170eb92412033ca9e1f7be341ffb4e31b3.tar.gz |
Only sparse_files > 0 now indicates option is enabled.
Diffstat (limited to 'fileio.c')
-rw-r--r-- | fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -107,7 +107,7 @@ int write_file(int f,char *buf,size_t len) while (len > 0) { int r1; - if (sparse_files) { + if (sparse_files > 0) { int len1 = MIN(len, SPARSE_WRITE_SIZE); r1 = write_sparse(f, buf, len1); } else { |