diff --git a/checkin_notes b/checkin_notes
index 1c32734fb3..403bcac00d 100644
--- a/checkin_notes
+++ b/checkin_notes
@@ -1037,3 +1037,9 @@ Charlie 26 Jan 2012
client/
coproc_detect.cpp
+
+David 26 Jan 2012
+ - client: fix write of gzipped_nbytes
+
+ client/
+ client_types.cpp
diff --git a/client/client_types.cpp b/client/client_types.cpp
index 21c02835a0..deaeb13e52 100644
--- a/client/client_types.cpp
+++ b/client/client_types.cpp
@@ -1077,7 +1077,7 @@ int FILE_INFO::write(MIOFILE& out, bool to_server) {
if (gzip_when_done) out.printf(" \n");
if (download_gzipped) {
out.printf(" \n");
- out.printf(" %.0f\n");
+ out.printf(" %.0f\n", gzipped_nbytes);
}
if (signature_required) out.printf(" \n");
if (is_user_file) out.printf(" \n");