]> granicus.if.org Git - curl/commitdiff
docs: fix argument type for CURLINFO_SPEED_*, CURLINFO_SIZE_*
authorSvyatoslav Mishyn <juef@openmailbox.org>
Wed, 9 Sep 2015 01:17:50 +0000 (21:17 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 9 Sep 2015 01:19:34 +0000 (21:19 -0400)
long => double

docs/libcurl/opts/CURLINFO_SIZE_DOWNLOAD.3
docs/libcurl/opts/CURLINFO_SIZE_UPLOAD.3
docs/libcurl/opts/CURLINFO_SPEED_DOWNLOAD.3
docs/libcurl/opts/CURLINFO_SPEED_UPLOAD.3

index 18a0e34abf2e3bddbaf0d38de23c64238fd44257..54447aae13d47df720eeaed670cef374aa3e829e 100644 (file)
@@ -26,7 +26,7 @@ CURLINFO_SIZE_DOWNLOAD \- get the number of downloaded bytes
 .SH SYNOPSIS
 #include <curl/curl.h>
 
-CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_SIZE_DOWNLOAD, long *dlp);
+CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_SIZE_DOWNLOAD, double *dlp);
 .SH DESCRIPTION
 Pass a pointer to a double to receive the total amount of bytes that were
 downloaded.  The amount is only for the latest transfer and will be reset
index ee4f49420b34e238880556686b74f9d5b285f295..e1214fe9e5a8cec2f165d348805fe920ae636d43 100644 (file)
@@ -26,7 +26,7 @@ CURLINFO_SIZE_UPLOAD \- get the number of uploaded bytes
 .SH SYNOPSIS
 #include <curl/curl.h>
 
-CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_SIZE_UPLOAD, long *uploadp);
+CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_SIZE_UPLOAD, double *uploadp);
 .SH DESCRIPTION
 Pass a pointer to a double to receive the total amount of bytes that were
 uploaded.
index cc2f85153343e857fa8a01f2f9d7d98e3e4a6c2f..cfccc0bc7c86e92defc6395f0395561dc6c8d4eb 100644 (file)
@@ -26,7 +26,7 @@ CURLINFO_SPEED_DOWNLOAD \- get download speed
 .SH SYNOPSIS
 #include <curl/curl.h>
 
-CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_SPEED_DOWNLOAD, long *speed);
+CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_SPEED_DOWNLOAD, double *speed);
 .SH DESCRIPTION
 Pass a pointer to a double to receive the average download speed that curl
 measured for the complete download. Measured in bytes/second.
index 6bbd23d94ccaebb880e68fade566f373e0e33960..e70471360fdad9148952a11eac95f29e103217e1 100644 (file)
@@ -26,7 +26,7 @@ CURLINFO_SPEED_UPLOAD \- get upload speed
 .SH SYNOPSIS
 #include <curl/curl.h>
 
-CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_SPEED_UPLOAD, long *speed);
+CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_SPEED_UPLOAD, double *speed);
 .SH DESCRIPTION
 Pass a pointer to a double to receive the average upload speed that curl
 measured for the complete upload. Measured in bytes/second.