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