- client: debug the above

svn path=/trunk/boinc/; revision=23865
This commit is contained in:
David Anderson 2011-07-20 20:49:32 +00:00
parent e64fd15e05
commit a388468fa2
2 changed files with 8 additions and 0 deletions

View File

@ -4264,3 +4264,9 @@ David 20 July 2011
sched/ sched/
file_upload_handler.cpp file_upload_handler.cpp
David 20 July 2011
- client: debug the above
client/
file_xfer.cpp

View File

@ -118,6 +118,7 @@ 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"
"<nbytes>%.0f</nbytes>\n" "<nbytes>%.0f</nbytes>\n"
"<max_nbytes>%.0f</max_nbytes>\n" "<max_nbytes>%.0f</max_nbytes>\n"
"<md5_cksum>%s</md5_cksum>\n" "<md5_cksum>%s</md5_cksum>\n"
@ -128,6 +129,7 @@ int FILE_XFER::init_upload(FILE_INFO& file_info) {
"<offset>%.0f</offset>\n" "<offset>%.0f</offset>\n"
"<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.nbytes, file_info.nbytes,
file_info.max_nbytes, file_info.max_nbytes,
file_info.md5_cksum, file_info.md5_cksum,