docs: fix req->data in multi-uv example #1088

Closed
wants to merge 1 commit into
from

Projects

None yet

3 participants

@bsnote
Contributor
bsnote commented Oct 27, 2016

Even though the address of curl_context_t struct and the address of its first field (poll_handle) coincide, the sockfd field is not always allocated immediately after the poll_handle field. See §9.2 clause 12 in the 1998 or 2003 C++ standards:

Implementation alignment requirements might cause two adjacent members not to be allocated immediately after each other;
@bsnote bsnote docs: fix req->data in multi-uv example
a399725
@mention-bot

@bsnote, thanks for your PR! By analyzing the history of the files in this pull request, we identified @captain-caveman2k, @clemensg and @valdemon to be potential reviewers.

@bagder bagder added a commit that closed this pull request Oct 27, 2016
@bsnote @bagder bsnote + bagder docs: fix req->data in multi-uv example
Closes #1088
50ef91b
@bagder bagder closed this in 50ef91b Oct 27, 2016
@bagder
Member
bagder commented Oct 27, 2016

thanks!

@bsnote bsnote deleted the bsnote:reqdata branch Nov 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment