Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
b99b38eb
Commit
b99b38eb
authored
Dec 07, 2006
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Forward port [18313] and [18314]. compile fix
parent
e8da76c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
modules/misc/gnutls.c
modules/misc/gnutls.c
+11
-0
No files found.
modules/misc/gnutls.c
View file @
b99b38eb
...
...
@@ -155,11 +155,18 @@ static int gnutls_Error (vlc_object_t *obj, int val)
switch
(
val
)
{
case
GNUTLS_E_AGAIN
:
#if ! defined(WIN32)
errno
=
EAGAIN
;
break
;
#endif
/* WinSock does not return EAGAIN, return EINTR instead */
case
GNUTLS_E_INTERRUPTED
:
#if defined(WIN32)
WSASetLastError
(
WSAEINTR
);
#else
errno
=
EINTR
;
#endif
break
;
default:
...
...
@@ -168,7 +175,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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment