Commit 4b98a799 authored by Ignacio Casal Quinteiro's avatar Ignacio Casal Quinteiro Committed by Ignacio Casal Quinteiro

gioerror: make WSAESHUTDOWN an alias of G_IO_ERROR_CONNECTION_CLOSED

This fixes one of the assertions of the socket unit tests where
G_IO_ERROR_FAILED was returned instead of G_IO_ERROR_CONNECTION_CLOSED.
parent 799f8dcd
......@@ -325,6 +325,7 @@ g_io_error_from_win32_error (gint error_code)
return G_IO_ERROR_NOT_SUPPORTED;
case WSAECONNRESET:
case WSAESHUTDOWN:
return G_IO_ERROR_CONNECTION_CLOSED;
case WSAEHOSTUNREACH:
......
Markdown is supported
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