From 9b6d6fea74164bc8c4e3d8ad839e63c9f1064aae Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 27 Jul 2009 18:19:43 +0000 Subject: [PATCH] - client: fix crashing bug introduced in [18605] svn path=/trunk/boinc/; revision=18737 --- checkin_notes | 6 ++++++ client/pers_file_xfer.cpp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index b60a1bfc15..9d87598d35 100644 --- a/checkin_notes +++ b/checkin_notes @@ -6540,3 +6540,9 @@ Rom 25 July 2009 clientlib/win/ Service.cpp + +David 27 July 2009 + - client: fix crashing bug introduced in [18605] + + client/ + pers_file_xfer.cpp diff --git a/client/pers_file_xfer.cpp b/client/pers_file_xfer.cpp index 40e542c365..6810a2c49f 100644 --- a/client/pers_file_xfer.cpp +++ b/client/pers_file_xfer.cpp @@ -270,7 +270,7 @@ bool PERS_FILE_XFER::poll() { // so that we'll query file size on next retry. // Otherwise leave it as is, avoiding unnecessary size query. // - if (fxp->bytes_xferred || (fip->urls.size() > 1)) { + if (last_bytes_xferred || (fip->urls.size() > 1)) { fip->upload_offset = -1; }