1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04:00

Fix segfault from called log functions before log was initialised.

svn path=/trunk/icecast/; revision=3316
This commit is contained in:
Michael Smith 2002-05-21 00:35:33 +00:00
parent 9414de162b
commit fd2ee075f6

View File

@ -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;
}
}