Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
a6223251
Commit
a6223251
authored
Aug 19, 2005
by
Rémi Denis-Courmont
Browse files
Don't print EAFNOSUPPORT error - refs #320
parent
4c7f9a48
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/misc/net.c
View file @
a6223251
...
...
@@ -83,11 +83,13 @@ static int net_Socket( vlc_object_t *p_this, int i_family, int i_socktype,
if
(
fd
==
-
1
)
{
#if defined(WIN32) || defined(UNDER_CE)
msg_Warn
(
p_this
,
"cannot create socket (%i)"
,
WSAGetLastError
()
);
if
(
WSAGetLastError
(
)
!=
WSAEAFNOSUPPORT
)
msg_Warn
(
p_this
,
"cannot create socket (%i)"
,
WSAGetLastError
()
);
#else
msg_Warn
(
p_this
,
"cannot create socket (%s)"
,
strerror
(
errno
)
);
if
(
errno
!=
EAFNOSUPPORT
)
msg_Warn
(
p_this
,
"cannot create socket (%s)"
,
strerror
(
errno
)
);
#endif
return
-
1
;
}
...
...
Write
Preview
Supports
Markdown
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