- 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/ client/
file_xfer.cpp file_xfer.cpp
David 1 Aug 2011
- client: undo the above. doesn't work
client/
file_xfer.cpp

View File

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