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 socket_close instead of close to close a socket #59

Conversation

qmfrederik
Copy link
Contributor

Fix a regression introduced by 80fe6e8. Passing a socket handle to close on Windows will cause an application crash.

This code path is hit on Windows when the Apple Mobile Device Service is not running.

@nikias nikias merged commit 0212e76 into libimobiledevice:master Oct 21, 2018
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.

None yet

2 participants