Skip to content
New issue

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

CURLOPT_READFUNCTION man page: wrong arg passed for CURLOPT_READDATA #4787

Closed
joycepg opened this issue Jan 6, 2020 · 1 comment
Closed

Comments

@joycepg
Copy link

joycepg commented Jan 6, 2020

I read this

/* pass in suitable argument to callback */
curl_easy_setopt(curl, CURLOPT_READDATA, uploadthis);

I expected the following

/* pass in suitable argument to callback */
curl_easy_setopt(curl, CURLOPT_READDATA, file);

curl/libcurl version

[curl -V output]

operating system

@jay jay closed this as completed in e9dd17b Jan 6, 2020
@jay
Copy link
Member

jay commented Jan 6, 2020

Thanks

@lock lock bot locked as resolved and limited conversation to collaborators Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants