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
5309b722
Commit
5309b722
authored
Dec 29, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RAOP: use vlc_strerror_c()
parent
f83fbd59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
modules/stream_out/raop.c
modules/stream_out/raop.c
+9
-6
No files found.
modules/stream_out/raop.c
View file @
5309b722
...
...
@@ -551,7 +551,8 @@ static char *ReadPasswordFile( vlc_object_t *p_this, const char *psz_path )
p_file
=
vlc_fopen
(
psz_path
,
"rt"
);
if
(
p_file
==
NULL
)
{
msg_Err
(
p_this
,
"Unable to open password file '%s': %m"
,
psz_path
);
msg_Err
(
p_this
,
"Unable to open password file '%s': %s"
,
psz_path
,
vlc_strerror_c
(
errno
)
);
goto
error
;
}
...
...
@@ -560,7 +561,8 @@ static char *ReadPasswordFile( vlc_object_t *p_this, const char *psz_path )
{
if
(
ferror
(
p_file
)
)
{
msg_Err
(
p_this
,
"Error reading '%s': %m"
,
psz_path
);
msg_Err
(
p_this
,
"Error reading '%s': %s"
,
psz_path
,
vlc_strerror_c
(
errno
)
);
goto
error
;
}
...
...
@@ -1442,8 +1444,8 @@ static int Open( vlc_object_t *p_this )
RAOP_PORT
);
if
(
p_sys
->
i_control_fd
<
0
)
{
msg_Err
(
p_this
,
"Cannot establish control connection to %s:%d (%
m
)"
,
p_sys
->
psz_host
,
RAOP_PORT
);
msg_Err
(
p_this
,
"Cannot establish control connection to %s:%d (%
s
)"
,
p_sys
->
psz_host
,
RAOP_PORT
,
vlc_strerror_c
(
errno
)
);
i_err
=
VLC_EGENERIC
;
goto
error
;
}
...
...
@@ -1526,8 +1528,9 @@ static int Open( vlc_object_t *p_this )
p_sys
->
i_server_port
);
if
(
p_sys
->
i_stream_fd
<
0
)
{
msg_Err
(
p_this
,
"Cannot establish stream connection to %s:%d (%m)"
,
p_sys
->
psz_host
,
p_sys
->
i_server_port
);
msg_Err
(
p_this
,
"Cannot establish stream connection to %s:%d (%s)"
,
p_sys
->
psz_host
,
p_sys
->
i_server_port
,
vlc_strerror_c
(
errno
)
);
i_err
=
VLC_EGENERIC
;
goto
error
;
}
...
...
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