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
5fee0e7d
Commit
5fee0e7d
authored
Apr 27, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
httpd: remove write only string
parent
2eddbc92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
src/network/httpd.c
src/network/httpd.c
+0
-3
No files found.
src/network/httpd.c
View file @
5fee0e7d
...
...
@@ -301,7 +301,6 @@ struct httpd_file_t
{
httpd_url_t
*
url
;
char
*
psz_url
;
char
*
psz_mime
;
httpd_file_callback_t
pf_fill
;
...
...
@@ -376,7 +375,6 @@ httpd_file_t *httpd_FileNew(httpd_host_t *host,
return
NULL
;
}
file
->
psz_url
=
strdup
(
psz_url
);
if
(
psz_mime
&&
*
psz_mime
)
file
->
psz_mime
=
strdup
(
psz_mime
);
else
...
...
@@ -401,7 +399,6 @@ httpd_file_sys_t *httpd_FileDelete(httpd_file_t *file)
httpd_UrlDelete
(
file
->
url
);
free
(
file
->
psz_url
);
free
(
file
->
psz_mime
);
free
(
file
);
...
...
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