diff options
author | robot-contrib <[email protected]> | 2023-05-10 07:52:12 +0300 |
---|---|---|
committer | robot-contrib <[email protected]> | 2023-05-10 07:52:12 +0300 |
commit | 7050508de93ad30a077c11d26230c33703fe5ae4 (patch) | |
tree | 49179e364078b40e3d3a77d307d5b8738b2735e9 /contrib/restricted/aws/aws-c-io/source/socket_channel_handler.c | |
parent | 4364c710590a1787a5cc4b0d5d06632ea0549c56 (diff) |
Update contrib/restricted/aws/aws-c-io to 0.13.21
Diffstat (limited to 'contrib/restricted/aws/aws-c-io/source/socket_channel_handler.c')
-rw-r--r-- | contrib/restricted/aws/aws-c-io/source/socket_channel_handler.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/restricted/aws/aws-c-io/source/socket_channel_handler.c b/contrib/restricted/aws/aws-c-io/source/socket_channel_handler.c index 54bdcea7b24..666acbdd333 100644 --- a/contrib/restricted/aws/aws-c-io/source/socket_channel_handler.c +++ b/contrib/restricted/aws/aws-c-io/source/socket_channel_handler.c @@ -426,3 +426,9 @@ cleanup_handler: return NULL; } + +const struct aws_socket *aws_socket_handler_get_socket(const struct aws_channel_handler *handler) { + AWS_PRECONDITION(handler); + const struct socket_handler *socket_handler = handler->impl; + return socket_handler->socket; +} |