Skip to content

Conversation

@SolidWallOfCode
Copy link
Member

This depends on #4140.

This removes the autotools checking for whether sockaddr structs have a length field and does it directly inline using the meta case utility.

@SolidWallOfCode SolidWallOfCode added this to the 9.0.0 milestone Aug 23, 2018
@SolidWallOfCode SolidWallOfCode self-assigned this Aug 23, 2018
memcpy(dst, src, n);
#if HAVE_STRUCT_SOCKADDR_SA_LEN
dst->sa_len = n;
#endif
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does the template approach deal with sa_len?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here.

@zwoop zwoop removed this from the 9.0.0 milestone Jan 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants