From 32f966b239f12c89f730faf5aa434cf587b6acfc Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 19 Apr 2001 11:24:29 +0000 Subject: A Linus Nielsen Feltzing-patch that removes the decimals from the size outputs... --- src/writeout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/writeout.c b/src/writeout.c index 92a4c6382..7f2fa907a 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 == -- cgit v1.2.3