Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-Server
Commits
8aaf433a
Commit
8aaf433a
authored
Oct 25, 2004
by
Karl Heyes
Browse files
add check for header when relaying from v2.0
svn path=/icecast/trunk/icecast/; revision=8098
parent
a52caeb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/source.c
View file @
8aaf433a
...
...
@@ -499,6 +499,8 @@ static void source_init (source_t *source)
source
->
yp_public
=
atoi
(
str
);
if
((
str
=
httpp_getvar
(
source
->
parser
,
"icy-pub"
)))
source
->
yp_public
=
atoi
(
str
);
if
((
str
=
httpp_getvar
(
source
->
parser
,
"icy-public"
)))
source
->
yp_public
=
atoi
(
str
);
if
(
str
==
NULL
)
str
=
"0"
;
stats_event
(
source
->
mount
,
"public"
,
str
);
...
...
Write
Preview
Supports
Markdown
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