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
485b0994
Commit
485b0994
authored
Sep 22, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/stream_output/sap.c: net_Write() returns an int, not an unsigned.
parent
6df9b4ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/stream_output/sap.c
src/stream_output/sap.c
+4
-4
No files found.
src/stream_output/sap.c
View file @
485b0994
...
...
@@ -540,7 +540,7 @@ static int announce_SAPAnnounceDel( sap_handler_t *p_sap,
static
int
announce_SendSAPAnnounce
(
sap_handler_t
*
p_sap
,
sap_session_t
*
p_session
)
{
unsigned
int
i_ret
;
int
i_ret
;
/* This announce has never been sent yet */
if
(
p_session
->
i_last
==
0
)
...
...
@@ -558,11 +558,11 @@ static int announce_SendSAPAnnounce( sap_handler_t *p_sap,
i_ret
=
net_Write
(
p_sap
,
p_session
->
p_address
->
i_wfd
,
NULL
,
p_session
->
psz_data
,
p_session
->
i_length
);
if
(
i_ret
!=
(
unsigned
int
)
p_session
->
i_length
)
if
(
i_ret
!=
p_session
->
i_length
)
{
msg_Warn
(
p_sap
,
"SAP send failed on address %s (%i %i)"
,
p_session
->
p_address
->
psz_address
,
i_ret
,
p_session
->
i_length
);
p_session
->
p_address
->
psz_address
,
i_ret
,
p_session
->
i_length
);
}
p_session
->
i_last
=
p_session
->
i_next
;
p_session
->
i_next
=
p_session
->
i_last
...
...
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