Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Icecast-Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
94
Issues
94
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
Icecast-Server
Commits
f0e7a859
Commit
f0e7a859
authored
Dec 18, 2004
by
Karl Heyes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor type cleanup in fserve, include correct header for ogg
svn path=/icecast/trunk/icecast/; revision=8481
parent
e59095b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/format.c
src/format.c
+1
-1
src/fserve.c
src/fserve.c
+3
-3
No files found.
src/format.c
View file @
f0e7a859
...
...
@@ -36,7 +36,7 @@
#include "global.h"
#include "httpp/httpp.h"
#include "format_
vorbis
.h"
#include "format_
ogg
.h"
#include "format_mp3.h"
#include "logging.h"
...
...
src/fserve.c
View file @
f0e7a859
...
...
@@ -88,7 +88,7 @@ typedef struct {
static
int
_free_client
(
void
*
key
);
static
int
_delete_mapping
(
void
*
mapping
);
static
void
*
fserv_thread_function
(
void
*
arg
);
static
void
create_mime_mappings
(
char
*
fn
);
static
void
create_mime_mappings
(
c
onst
c
har
*
fn
);
void
fserve_initialize
(
void
)
{
...
...
@@ -314,7 +314,7 @@ static void *fserv_thread_function(void *arg)
return
NULL
;
}
static
char
*
fserve_content_type
(
char
*
path
)
static
c
onst
c
har
*
fserve_content_type
(
char
*
path
)
{
char
*
ext
=
util_get_extension
(
path
);
mime_type
exttype
=
{
ext
,
NULL
};
...
...
@@ -528,7 +528,7 @@ static int _compare_mappings(void *arg, void *a, void *b)
((
mime_type
*
)
b
)
->
ext
);
}
static
void
create_mime_mappings
(
char
*
fn
)
{
static
void
create_mime_mappings
(
c
onst
c
har
*
fn
)
{
FILE
*
mimefile
=
fopen
(
fn
,
"r"
);
char
line
[
4096
];
char
*
type
,
*
ext
,
*
cur
;
...
...
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