From 906dc533dbd61ed4633bbaa1af7bc1b5d33f4ae7 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 18 Sep 2009 23:43:20 +0000 Subject: [PATCH] - client: if a file fails verification, delete it. svn path=/trunk/boinc/; revision=19110 --- checkin_notes | 6 ++++++ client/pers_file_xfer.cpp | 1 + 2 files changed, 7 insertions(+) diff --git a/checkin_notes b/checkin_notes index cc078de1d3..32c8b173aa 100644 --- a/checkin_notes +++ b/checkin_notes @@ -7910,3 +7910,9 @@ David 18 Sept 2009 client/ cs_files.cpp work_fetch.cpp + +David 18 Sept 2009 + - client: if a file fails verification, delete it. + + client/ + pers_file_xfer.cpp diff --git a/client/pers_file_xfer.cpp b/client/pers_file_xfer.cpp index 15c122f86b..a1e53336e7 100644 --- a/client/pers_file_xfer.cpp +++ b/client/pers_file_xfer.cpp @@ -114,6 +114,7 @@ int PERS_FILE_XFER::create_xfer() { return 0; } else { + fip->delete_file(); fip->status = FILE_NOT_PRESENT; } }