Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
bee10796
Commit
bee10796
authored
Aug 20, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use fixed size string for extension. This is more DSO friendly
parent
e40d134c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/network/httpd.c
src/network/httpd.c
+3
-3
No files found.
src/network/httpd.c
View file @
bee10796
...
...
@@ -187,7 +187,7 @@ struct httpd_client_t
*****************************************************************************/
static
struct
{
const
char
*
psz_ext
;
const
char
psz_ext
[
8
]
;
const
char
*
psz_mime
;
}
http_mime
[]
=
{
...
...
@@ -230,7 +230,7 @@ static struct
/* end */
{
NULL
,
NULL
}
{
""
,
""
}
};
static
const
char
*
httpd_MimeFromUrl
(
const
char
*
psz_url
)
...
...
@@ -243,7 +243,7 @@ static const char *httpd_MimeFromUrl( const char *psz_url )
{
int
i
;
for
(
i
=
0
;
http_mime
[
i
].
psz_ext
!=
NULL
;
i
++
)
for
(
i
=
0
;
http_mime
[
i
].
psz_ext
[
0
]
;
i
++
)
{
if
(
!
strcasecmp
(
http_mime
[
i
].
psz_ext
,
psz_ext
)
)
{
...
...
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