Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
29680ec6
Commit
29680ec6
authored
Sep 28, 2018
by
Philipp Schafft
🦁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Allow the use of bools for <logarchive>
parent
5257fcaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/cfgfile.c
src/cfgfile.c
+7
-1
No files found.
src/cfgfile.c
View file @
29680ec6
...
...
@@ -2286,7 +2286,13 @@ static void _parse_logging(xmlDocPtr doc,
if
(
tmp
)
xmlFree
(
tmp
);
}
else
if
(
xmlStrcmp
(
node
->
name
,
XMLSTR
(
"logarchive"
))
==
0
)
{
__read_int
(
doc
,
node
,
&
configuration
->
logarchive
,
"<logarchive> must not be empty."
);
char
*
tmp
=
(
char
*
)
xmlNodeListGetString
(
doc
,
node
->
xmlChildrenNode
,
1
);
configuration
->
logarchive
=
util_str_to_bool
(
tmp
);
if
(
tmp
)
{
xmlFree
(
tmp
);
}
else
{
ICECAST_LOG_WARN
(
"<logarchive> must not be empty."
);
}
}
}
while
((
node
=
node
->
next
));
}
...
...
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