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
b575a47b
Commit
b575a47b
authored
Dec 30, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MMSH: use var_Inherit
parent
4c56bbfe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
modules/access/mms/mmsh.c
modules/access/mms/mmsh.c
+5
-10
No files found.
modules/access/mms/mmsh.c
View file @
b575a47b
...
@@ -90,23 +90,18 @@ int MMSHOpen( access_t *p_access )
...
@@ -90,23 +90,18 @@ int MMSHOpen( access_t *p_access )
/* Check proxy */
/* Check proxy */
/* TODO reuse instead http-proxy from http access ? */
/* TODO reuse instead http-proxy from http access ? */
psz_proxy
=
var_CreateGetString
(
p_access
,
"mmsh-proxy"
);
psz_proxy
=
var_CreateGet
NonEmpty
String
(
p_access
,
"mmsh-proxy"
);
if
(
!
*
psz_proxy
)
if
(
!
psz_proxy
)
{
{
char
*
psz_http_proxy
=
config_GetPsz
(
p_access
,
"http-proxy"
);
char
*
psz_http_proxy
=
var_InheritString
(
p_access
,
"http-proxy"
);
if
(
psz_http_proxy
&&
*
psz_http_proxy
)
if
(
psz_http_proxy
)
{
{
free
(
psz_proxy
);
psz_proxy
=
psz_http_proxy
;
psz_proxy
=
psz_http_proxy
;
var_SetString
(
p_access
,
"mmsh-proxy"
,
psz_proxy
);
var_SetString
(
p_access
,
"mmsh-proxy"
,
psz_proxy
);
}
}
else
{
free
(
psz_http_proxy
);
}
}
}
if
(
*
psz_proxy
)
if
(
psz_proxy
)
{
{
p_sys
->
b_proxy
=
true
;
p_sys
->
b_proxy
=
true
;
vlc_UrlParse
(
&
p_sys
->
proxy
,
psz_proxy
,
0
);
vlc_UrlParse
(
&
p_sys
->
proxy
,
psz_proxy
,
0
);
...
...
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