- client: undo the above. doesn't work

svn path=/trunk/boinc/; revision=23914
This commit is contained in:
David Anderson 2011-08-01 23:17:12 +00:00
parent a25449aa0f
commit 47b42e2b3f
2 changed files with 10 additions and 8 deletions

View File

@ -4507,3 +4507,9 @@ David 1 Aug 2011
client/
file_xfer.cpp
David 1 Aug 2011
- client: undo the above. doesn't work
client/
file_xfer.cpp

View File

@ -119,11 +119,8 @@ int FILE_XFER::init_upload(FILE_INFO& file_info) {
"<file_upload>\n"
"<file_info>\n"
"<name>%s</name>\n"
" <url>%s</url>\n"
" <max_nbytes>%.0f</max_nbytes>\n"
" <generated_locally/>\n"
" <upload_when_present/>\n"
"<nbytes>%.0f</nbytes>\n"
"<max_nbytes>%.0f</max_nbytes>\n"
"<md5_cksum>%s</md5_cksum>\n"
"<xml_signature>\n"
"%s"
@ -133,9 +130,8 @@ int FILE_XFER::init_upload(FILE_INFO& file_info) {
"<data>\n",
BOINC_MAJOR_VERSION, BOINC_MINOR_VERSION, BOINC_RELEASE,
file_info.name,
file_info.upload_urls.urls[0],
file_info.max_nbytes,
file_info.nbytes,
file_info.max_nbytes,
file_info.md5_cksum,
file_info.xml_signature,
file_info.upload_offset