diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-04-19 11:24:29 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-04-19 11:24:29 +0000 |
commit | 32f966b239f12c89f730faf5aa434cf587b6acfc (patch) | |
tree | ff6b52b830075ef1a8b3b372039005000c5a5acc /src | |
parent | 60a43561e23ec5a3d2da808b00e2fdf56e342b23 (diff) |
A Linus Nielsen Feltzing-patch that removes the decimals from the size
outputs...
Diffstat (limited to 'src')
-rw-r--r-- | src/writeout.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 == |