Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
62cc24a8
Commit
62cc24a8
authored
Apr 11, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Print error when setting TTL fails
parent
c1bb916b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/network/udp.c
src/network/udp.c
+4
-0
No files found.
src/network/udp.c
View file @
62cc24a8
...
...
@@ -244,9 +244,13 @@ static int net_SetMcastHopLimit( vlc_object_t *p_this,
/* BSD compatibility */
unsigned
char
buf
;
msg_Dbg
(
p_this
,
"cannot set hop limit (%d): %m"
,
hlim
);
buf
=
(
unsigned
char
)((
hlim
>
255
)
?
255
:
hlim
);
if
(
setsockopt
(
fd
,
proto
,
cmd
,
&
buf
,
sizeof
(
buf
)
)
)
{
msg_Err
(
p_this
,
"cannot set hop limit (%d): %m"
,
hlim
);
return
VLC_EGENERIC
;
}
}
return
VLC_SUCCESS
;
...
...
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