Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
spr0cketeer
Icecast-Server
Commits
4345060c
Commit
4345060c
authored
Jun 07, 2016
by
Marvin Scholz
Committed by
Philipp Schafft
Jun 07, 2016
Browse files
Cleanup: corrected usage of spaces
parent
18613e96
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
4345060c
...
...
@@ -162,7 +162,7 @@ AC_SUBST(KATE_LIBS)
AC_OUTPUT([Makefile conf/Makefile src/Makefile src/common/avl/Makefile
src/common/httpp/Makefile src/common/thread/Makefile src/common/log/Makefile
src/common/net/Makefile src/common/timing/Makefile doc/Makefile doc/img/Makefile
doc/assets/Makefile doc/assets/css/Makefile doc/assets/font/Makefile
doc/assets/Makefile doc/assets/css/Makefile doc/assets/font/Makefile
doc/assets/img/Makefile web/Makefile web/assets/Makefile web/assets/css/Makefile
web/assets/font/Makefile admin/Makefile admin/includes/Makefile win32/Makefile
web/assets/font/Makefile admin/Makefile admin/includes/Makefile win32/Makefile
examples/Makefile])
src/cfgfile.c
View file @
4345060c
...
...
@@ -397,7 +397,7 @@ static void __append_old_style_url_event(event_registration_t **list,
static
void
config_clear_http_header
(
ice_config_http_header_t
*
header
)
{
ice_config_http_header_t
*
old
;
while
(
header
)
{
xmlFree
(
header
->
name
);
xmlFree
(
header
->
value
);
...
...
@@ -997,7 +997,7 @@ static void _parse_root(xmlDocPtr doc,
"interface (stylesheets, images)."
);
__check_hostname
(
configuration
);
if
(
!
configuration
->
location
||
strcmp
(
configuration
->
location
,
CONFIG_DEFAULT_LOCATION
)
==
0
)
{
ICECAST_LOG_WARN
(
"Warning, <location> not configured, using default "
...
...
@@ -1005,7 +1005,7 @@ static void _parse_root(xmlDocPtr doc,
if
(
!
configuration
->
location
)
configuration
->
location
=
(
char
*
)
xmlCharStrdup
(
CONFIG_DEFAULT_LOCATION
);
}
if
(
!
configuration
->
admin
||
strcmp
(
configuration
->
admin
,
CONFIG_DEFAULT_ADMIN
)
==
0
)
{
ICECAST_LOG_WARN
(
"Warning, <admin> contact not configured, using "
...
...
@@ -1290,7 +1290,7 @@ static void _parse_mount(xmlDocPtr doc,
continue
;
if
(
xmlStrcmp
(
node
->
name
,
XMLSTR
(
"mount-name"
))
==
0
)
{
mount
->
mountname
=
(
char
*
)
xmlNodeListGetString
(
doc
,
mount
->
mountname
=
(
char
*
)
xmlNodeListGetString
(
doc
,
node
->
xmlChildrenNode
,
1
);
}
else
if
(
xmlStrcmp
(
node
->
name
,
XMLSTR
(
"username"
))
==
0
)
{
username
=
(
char
*
)
xmlNodeListGetString
(
doc
,
...
...
@@ -1647,7 +1647,7 @@ static void _parse_relay(xmlDocPtr doc,
}
else
if
(
xmlStrcmp
(
node
->
name
,
XMLSTR
(
"password"
))
==
0
)
{
if
(
relay
->
password
)
xmlFree
(
relay
->
password
);
relay
->
password
=
(
char
*
)
xmlNodeListGetString
(
doc
,
relay
->
password
=
(
char
*
)
xmlNodeListGetString
(
doc
,
node
->
xmlChildrenNode
,
1
);
}
else
if
(
xmlStrcmp
(
node
->
name
,
XMLSTR
(
"on-demand"
))
==
0
)
{
tmp
=
(
char
*
)
xmlNodeListGetString
(
doc
,
node
->
xmlChildrenNode
,
1
);
...
...
@@ -1854,7 +1854,7 @@ static void _parse_directory(xmlDocPtr doc,
}
else
if
(
xmlStrcmp
(
node
->
name
,
XMLSTR
(
"touch-interval"
))
==
0
)
{
tmp
=
(
char
*
)
xmlNodeListGetString
(
doc
,
node
->
xmlChildrenNode
,
1
);
configuration
->
yp_touch_interval
[
configuration
->
num_yp_directories
]
=
->
yp_touch_interval
[
configuration
->
num_yp_directories
]
=
atoi
(
tmp
);
if
(
tmp
)
xmlFree
(
tmp
);
...
...
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