Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
ffd3fce0
Commit
ffd3fce0
authored
Oct 21, 2010
by
Sébastien Escudier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net_OpenDgram don't return 0 in case of failure
parent
0dc9628b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/network/udp.c
src/network/udp.c
+1
-1
No files found.
src/network/udp.c
View file @
ffd3fce0
...
...
@@ -778,6 +778,7 @@ int net_OpenDgram( vlc_object_t *obj, const char *psz_bind, int i_bind,
return
-
1
;
}
val
=
-
1
;
for
(
struct
addrinfo
*
ptr
=
loc
;
ptr
!=
NULL
;
ptr
=
ptr
->
ai_next
)
{
int
fd
=
net_Socket
(
obj
,
ptr
->
ai_family
,
ptr
->
ai_socktype
,
...
...
@@ -789,7 +790,6 @@ int net_OpenDgram( vlc_object_t *obj, const char *psz_bind, int i_bind,
if
(
fd
==
-
1
)
continue
;
val
=
-
1
;
for
(
struct
addrinfo
*
ptr2
=
rem
;
ptr2
!=
NULL
;
ptr2
=
ptr2
->
ai_next
)
{
if
((
ptr2
->
ai_family
!=
ptr
->
ai_family
)
...
...
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