diff --git a/checkin_notes b/checkin_notes index 7da329623c..76896713ec 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/client/pers_file_xfer.cpp b/client/pers_file_xfer.cpp index a1e53336e7..9d5264e8fa 100644 --- a/client/pers_file_xfer.cpp +++ b/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; } }