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

Use CURLOPT_XFERINFOFUNCTION instead of CURLOPT_PROGRESSFUNCTION #5143

Closed
wants to merge 1 commit into from

Conversation

nyllet
Copy link
Contributor

@nyllet nyllet commented Aug 8, 2024

Agreement

By creating a pull request in stk-code, you hereby agree to dual-license your contribution as
GNU General Public License version 3 or any later version and
Mozilla Public License version 2 or any later version.

This includes your previous contribution(s) under the same name of contributor.

Keep the above statement in the pull request comment for agreement.

@nyllet
Copy link
Contributor Author

nyllet commented Aug 8, 2024

the old check:

#if defined(CURLOPT_XFERINFODATA)

was not working since CURLOPT_XFERINFODATA defaults to NULL

@CodingJellyfish
Copy link
Member

defined(CURLOPT_XFERINFODATA) is 1 since CURLOPT_XFERINFODATA is defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants