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
Marvin Scholz
Icecast-Server
Commits
1fe898ad
Commit
1fe898ad
authored
Nov 21, 2014
by
Philipp Schafft
🦁
Browse files
allow comments to be within the <http-headers> block, not just at the end
svn path=/icecast/trunk/icecast/; revision=19342
parent
558cff06
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cfgfile.c
View file @
1fe898ad
...
...
@@ -880,7 +880,7 @@ static void _parse_http_headers(xmlDocPtr doc, xmlNodePtr node, ice_config_http_
do
{
if
(
node
==
NULL
)
break
;
if
(
xmlIsBlankNode
(
node
))
continue
;
if
(
xmlStrcmp
(
node
->
name
,
XMLSTR
(
"header"
))
!=
0
)
break
;
if
(
xmlStrcmp
(
node
->
name
,
XMLSTR
(
"header"
))
!=
0
)
continue
;
if
(
!
(
name
=
(
char
*
)
xmlGetProp
(
node
,
XMLSTR
(
"name"
))))
break
;
if
(
!
(
value
=
(
char
*
)
xmlGetProp
(
node
,
XMLSTR
(
"value"
))))
break
;
...
...
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