projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6edcfb
)
dl and ulspeed are now curl_off_t so typecast them to double when we
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 11 Mar 2004 21:51:55 +0000
(21:51 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 11 Mar 2004 21:51:55 +0000
(21:51 +0000)
return their values
lib/getinfo.c
patch
|
blob
|
history
diff --git
a/lib/getinfo.c
b/lib/getinfo.c
index
cef6557
..
9e41d7f
100644
(file)
--- a/
lib/getinfo.c
+++ b/
lib/getinfo.c
@@
-141,10
+141,10
@@
CURLcode Curl_getinfo(struct SessionHandle *data, CURLINFO info, ...)
*param_doublep = (double)data->progress.downloaded;
break;
case CURLINFO_SPEED_DOWNLOAD:
- *param_doublep = data->progress.dlspeed;
+ *param_doublep =
(double)
data->progress.dlspeed;
break;
case CURLINFO_SPEED_UPLOAD:
- *param_doublep = data->progress.ulspeed;
+ *param_doublep =
(double)
data->progress.ulspeed;
break;
case CURLINFO_SSL_VERIFYRESULT:
*param_longp = data->set.ssl.certverifyresult;