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
94a2b9d0
Commit
94a2b9d0
authored
Feb 13, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to check HAVE_GETENV
We have had a replacement for quite a while already.
parent
6dd92709
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
modules/access/http.c
modules/access/http.c
+0
-2
modules/access/mms/mmsh.c
modules/access/mms/mmsh.c
+0
-2
No files found.
modules/access/http.c
View file @
94a2b9d0
...
...
@@ -465,7 +465,6 @@ static int OpenWithCookies( vlc_object_t *p_this, const char *psz_access,
"in registry."
);
}
}
#elif defined( HAVE_GETENV )
else
{
psz
=
getenv
(
"http_proxy"
);
...
...
@@ -475,7 +474,6 @@ static int OpenWithCookies( vlc_object_t *p_this, const char *psz_access,
vlc_UrlParse
(
&
p_sys
->
proxy
,
psz
,
0
);
}
}
#endif
if
(
psz
)
/* No, this is NOT a use-after-free error */
{
...
...
modules/access/mms/mmsh.c
View file @
94a2b9d0
...
...
@@ -107,7 +107,6 @@ int MMSHOpen( access_t *p_access )
vlc_UrlParse
(
&
p_sys
->
proxy
,
psz_proxy
,
0
);
free
(
psz_proxy
);
}
#ifdef HAVE_GETENV
else
{
const
char
*
http_proxy
=
getenv
(
"http_proxy"
);
...
...
@@ -117,7 +116,6 @@ int MMSHOpen( access_t *p_access )
vlc_UrlParse
(
&
p_sys
->
proxy
,
http_proxy
,
0
);
}
}
#endif
if
(
p_sys
->
b_proxy
)
{
...
...
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