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

docs: add FD_ZERO to curl_multi_fdset example #16325

Closed
wants to merge 1 commit into from
Closed

Conversation

piru
Copy link

@piru piru commented Feb 13, 2025

Minor improvement to the inlined curl_multi_fdset example. While the inline code examples aren't supposed to be full apps it might be a good idea to have at least the FD_ZERO in place. Of course full app using the curl_multi_fdset would likely also add their own fds to the set(s), too (since this is likely the main reason to use the function to begin with).

While the examples are not intended to complete applications this is
quite relevant for the correct function of the code.
@bagder bagder closed this in f138177 Feb 14, 2025
@bagder
Copy link
Member

bagder commented Feb 14, 2025

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants