From: Daniel Stenberg Date: Thu, 19 Apr 2001 11:24:29 +0000 (+0000) Subject: A Linus Nielsen Feltzing-patch that removes the decimals from the size X-Git-Tag: curl-7_7_2~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=32f966b239f12c89f730faf5aa434cf587b6acfc;p=thirdparty%2Fcurl.git A Linus Nielsen Feltzing-patch that removes the decimals from the size outputs... --- diff --git a/src/writeout.c b/src/writeout.c index 92a4c63824..7f2fa907a1 100644 --- a/src/writeout.c +++ b/src/writeout.c @@ -141,12 +141,12 @@ void ourWriteOut(CURL *curl, char *writeinfo) case VAR_SIZE_UPLOAD: if(CURLE_OK == curl_easy_getinfo(curl, CURLINFO_SIZE_UPLOAD, &doubleinfo)) - fprintf(stream, "%.3f", doubleinfo); + fprintf(stream, "%.0f", doubleinfo); break; case VAR_SIZE_DOWNLOAD: if(CURLE_OK == curl_easy_getinfo(curl, CURLINFO_SIZE_DOWNLOAD, &doubleinfo)) - fprintf(stream, "%.3f", doubleinfo); + fprintf(stream, "%.0f", doubleinfo); break; case VAR_SPEED_DOWNLOAD: if(CURLE_OK ==