mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Fix segfault from called log functions before log was initialised.
svn path=/trunk/icecast/; revision=3316
This commit is contained in:
parent
9414de162b
commit
fd2ee075f6
@ -151,12 +151,12 @@ static int _start_listening(void)
|
||||
static void _server_proc_init(void)
|
||||
{
|
||||
if (!_setup_socket()) {
|
||||
ERROR1("Could not create listener socket on port %d", config_get_config()->port);
|
||||
fprintf(stderr, "Could not create listener socket on port %d", config_get_config()->port);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!_start_listening()) {
|
||||
ERROR0("Failed trying to listen on server socket");
|
||||
fprintf(stderr, "Failed trying to listen on server socket");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user