Skip to content

[BUGFIX] assigns the return value of _socket.close() to ret #232

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

YMas
Copy link

@YMas YMas commented Apr 15, 2024

Assigns the return value of _socket.close() to ret, otherwise, it would be always be the number of bytes returned and this would trigger the the error message printf("%sSocket.close() fails, code: %d\n", SOCKET_TYPE, ret);.

@paul-szczepanek-arm paul-szczepanek-arm merged commit 075e866 into ARMmbed:master Apr 17, 2024
18 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants