- client: fix write of gzipped_nbytes

svn path=/trunk/boinc/; revision=25154
This commit is contained in:
David Anderson 2012-01-26 18:35:08 +00:00
parent 615d59f40b
commit d205fc9375
2 changed files with 7 additions and 1 deletions

View File

@ -1037,3 +1037,9 @@ Charlie 26 Jan 2012
client/ client/
coproc_detect.cpp coproc_detect.cpp
David 26 Jan 2012
- client: fix write of gzipped_nbytes
client/
client_types.cpp

View File

@ -1077,7 +1077,7 @@ int FILE_INFO::write(MIOFILE& out, bool to_server) {
if (gzip_when_done) out.printf(" <gzip_when_done/>\n"); if (gzip_when_done) out.printf(" <gzip_when_done/>\n");
if (download_gzipped) { if (download_gzipped) {
out.printf(" <download_gzipped/>\n"); out.printf(" <download_gzipped/>\n");
out.printf(" <gzipped_nbytes>%.0f</gzipped_nbytes>\n"); out.printf(" <gzipped_nbytes>%.0f</gzipped_nbytes>\n", gzipped_nbytes);
} }
if (signature_required) out.printf(" <signature_required/>\n"); if (signature_required) out.printf(" <signature_required/>\n");
if (is_user_file) out.printf(" <is_user_file/>\n"); if (is_user_file) out.printf(" <is_user_file/>\n");