- client: revert [19110]: don't delete files that fail verification;

they might be partly downloaded.

svn path=/trunk/boinc/; revision=19147
This commit is contained in:
David Anderson 2009-09-23 19:44:21 +00:00
parent 31861ea804
commit d1c1df4e60
2 changed files with 10 additions and 1 deletions

View File

@ -8007,3 +8007,10 @@ David 23 Sept 2009
From Gabor Gombas
_autosetup
David 23 Sept 2009
- client: revert [19110]: don't delete files that fail verification;
they might be partly downloaded.
client/
pers_file_xfer.cpp

View File

@ -114,7 +114,9 @@ int PERS_FILE_XFER::create_xfer() {
return 0;
} else {
fip->delete_file();
// Mark file as not present but don't delete it.
// It might partly downloaded.
//
fip->status = FILE_NOT_PRESENT;
}
}