projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60a4356
)
A Linus Nielsen Feltzing-patch that removes the decimals from the size
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 19 Apr 2001 11:24:29 +0000
(11:24 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 19 Apr 2001 11:24:29 +0000
(11:24 +0000)
outputs...
src/writeout.c
patch
|
blob
|
history
diff --git
a/src/writeout.c
b/src/writeout.c
index 92a4c63824cb406aa2b018d4440ab7c8fa777d6a..7f2fa907a1ab48fa96a1c14655bc60b79f9d1049 100644
(file)
--- 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, "%.
3
f", doubleinfo);
+ fprintf(stream, "%.
0
f", doubleinfo);
break;
case VAR_SIZE_DOWNLOAD:
if(CURLE_OK ==
curl_easy_getinfo(curl, CURLINFO_SIZE_DOWNLOAD, &doubleinfo))
- fprintf(stream, "%.
3
f", doubleinfo);
+ fprintf(stream, "%.
0
f", doubleinfo);
break;
case VAR_SPEED_DOWNLOAD:
if(CURLE_OK ==