You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bagder
changed the title
@template man page:@https://curl.se/libcurl/c/CURLINFO_SPEED_UPLOAD.html
CURLINFO_SPEED_UPLOAD: the example is wrong
Aug 2, 2022
Example is incorrect.
res = curl_easy_getinfo(curl, CURLINFO_SPEED_UPLOAD, &speed);
if(!res) {
printf("Upload speed %.0f bytes/sec\n", ul);
Here speed should have been used for display.
The text was updated successfully, but these errors were encountered: