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 socklen_t when passing sockaddr to c functions #1663

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

normanmaurer
Copy link
Contributor

Motivation:

socklen_t should be used for passing the length of sockaddr. This was already done in the ffi code but not in the c header file

Modifications:

Use socklen_t

Result:

Correct type in c header file

Motivation:

socklen_t should be used for passing the length of sockaddr. This was already done in the ffi code but not in the c header file

Modifications:

Use socklen_t

Result:

Correct type in c header file
@normanmaurer normanmaurer requested a review from a team as a code owner November 22, 2023 11:23
@ghedo ghedo merged commit 06222e5 into cloudflare:master Nov 22, 2023
24 checks passed
@ghedo
Copy link
Member

ghedo commented Nov 22, 2023

Merged, thanks @normanmaurer!

@normanmaurer normanmaurer deleted the correct_type_in_c branch November 22, 2023 19:11
@normanmaurer
Copy link
Contributor Author

@ghedo you are welcome! :)

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