- client: fix crashing bug introduced in [18605]

svn path=/trunk/boinc/; revision=18737
This commit is contained in:
David Anderson 2009-07-27 18:19:43 +00:00
parent d710128268
commit 9b6d6fea74
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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;
}