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
e597b63c
Commit
e597b63c
authored
May 03, 2004
by
Ed "oddsock" Zaleski
Browse files
proper config file handling...
svn path=/icecast/trunk/icecast/; revision=6615
parent
15b9c16c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/admin.c
View file @
e597b63c
...
...
@@ -611,8 +611,9 @@ static void command_buildm3u(client_t *client, source_t *source,
COMMAND_REQUIRE
(
client
,
"password"
,
password
);
config
=
config_get_config
();
host
=
config
->
hostname
;
host
=
strdup
(
config
->
hostname
)
;
port
=
config
->
port
;
config_release_config
();
client
->
respcode
=
200
;
sock_write
(
client
->
con
->
sock
,
...
...
@@ -626,9 +627,9 @@ static void command_buildm3u(client_t *client, source_t *source,
port
,
source
->
mount
);
free
(
host
);
client_destroy
(
client
);
config_release_config
();
}
static
void
command_manageauth
(
client_t
*
client
,
source_t
*
source
,
int
response
)
...
...
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