Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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:
CURLINFO_SPEED_UPLOAD.3: fix example
7651457
Reported-by: jvvprasad78 on github Fixes #9239 Closes #
b6dd849
bagder
Successfully merging a pull request may close this issue.
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: