Only sparse_files > 0 now indicates option is enabled.

This commit is contained in:
Wayne Davison committed 2006-12-28 07:54:04 +00:00
1 parent 283887d777
commit 18233a170e
1 file changed
+1 -1
+1 -1
View File
@@ -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 {