Commit 1f01c629 authored by Damien Fouilleul's avatar Damien Fouilleul

- possible compile fox (courmisch to review)

parent e41e95ea
......@@ -199,7 +199,11 @@ static int gnutls_Error (vlc_object_t *obj, int val)
if (!gnutls_error_is_fatal (val))
msg_Err (obj, "Error above should be handled");
#endif
#if defined(WIN32)
WSASetLastError(WSAECONNRESET);
#else
errno = ECONNRESET;
#endif
}
return -1;
}
......
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