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?
to your account
It seems that clientp and userp mismatch in the code example:
static size_t progress_callback(void *clientp,
struct memory *progress = (struct progress *)userp;
/* use the values */
return 0; /* all is good */
The man page is found here:
The text was updated successfully, but these errors were encountered:
CURLOPT_XFERINFOFUNCTION.3: fix typo in example
Reported-by: coralw on github
Successfully merging a pull request may close this issue.