Skip to content
Commit 25616eb7 authored by Marc-André Lureau's avatar Marc-André Lureau Committed by Philip Withnall
Browse files

gio/tests: fix socket /socket/credentials/unix_socketpair on win32



When I enabled unix socketpair test on win32, I left the existing
g_close(fds[1]), but _g_win32_socketpair() returns native sockets
descriptors that must be closed with closesocket() on win32.

Let GSocket handle the socket pair cleanup.

Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
parent 1e5faeed
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment