mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
dl and ulspeed are now curl_off_t so typecast them to double when we
return their values
This commit is contained in:
parent
d6edcfb486
commit
9d064a3927
@ -141,10 +141,10 @@ CURLcode Curl_getinfo(struct SessionHandle *data, CURLINFO info, ...)
|
|||||||
*param_doublep = (double)data->progress.downloaded;
|
*param_doublep = (double)data->progress.downloaded;
|
||||||
break;
|
break;
|
||||||
case CURLINFO_SPEED_DOWNLOAD:
|
case CURLINFO_SPEED_DOWNLOAD:
|
||||||
*param_doublep = data->progress.dlspeed;
|
*param_doublep = (double)data->progress.dlspeed;
|
||||||
break;
|
break;
|
||||||
case CURLINFO_SPEED_UPLOAD:
|
case CURLINFO_SPEED_UPLOAD:
|
||||||
*param_doublep = data->progress.ulspeed;
|
*param_doublep = (double)data->progress.ulspeed;
|
||||||
break;
|
break;
|
||||||
case CURLINFO_SSL_VERIFYRESULT:
|
case CURLINFO_SSL_VERIFYRESULT:
|
||||||
*param_longp = data->set.ssl.certverifyresult;
|
*param_longp = data->set.ssl.certverifyresult;
|
||||||
|
Loading…
Reference in New Issue
Block a user