mirror of https://github.com/BOINC/boinc.git
- 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:
parent
31861ea804
commit
d1c1df4e60
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue