We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
curl_free
void*
char*
The documentation of curl_free says that it takes char* as its argument whereas it actually takes void*:
curl/include/curl/curl.h
Line 2678 in be5f6c3
If you followed the documentation you would get an error in the following case:
std::unique_ptr<char, void(*)(char*)> res {curl_easy_escape(nullptr, str.data(), static_cast<int>(str.size())), curl_free};
The text was updated successfully, but these errors were encountered:
72d4f7d
curl_free.3: fix return type of curl_free
0c6898e
Fixes curl#10373 Closes curl#10374
Successfully merging a pull request may close this issue.
The documentation of
curl_free
says that it takeschar*
as its argument whereas it actually takesvoid*
:curl/include/curl/curl.h
Line 2678 in be5f6c3
If you followed the documentation you would get an error in the following case:
std::unique_ptr<char, void(*)(char*)> res {curl_easy_escape(nullptr, str.data(), static_cast<int>(str.size())), curl_free};
The text was updated successfully, but these errors were encountered: