1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

hide fallback file from webroot stats, still accessible from admin. Missed

log debug line from apply function

svn path=/icecast/trunk/icecast/; revision=9848
This commit is contained in:
Karl Heyes 2005-08-25 01:03:33 +00:00
parent d07723c997
commit 76b8ec882f

View File

@ -1133,7 +1133,10 @@ void source_update_settings (ice_config_t *config, source_t *source, mount_proxy
{ {
/* skip if source is a fallback to file */ /* skip if source is a fallback to file */
if (source->running && source->client == NULL) if (source->running && source->client == NULL)
{
stats_event_hidden (source->mount, NULL, 1);
return; return;
}
/* set global settings first */ /* set global settings first */
source->queue_size_limit = config->queue_size_limit; source->queue_size_limit = config->queue_size_limit;
source->timeout = config->source_timeout; source->timeout = config->source_timeout;
@ -1180,6 +1183,7 @@ void source_update_settings (ice_config_t *config, source_t *source, mount_proxy
DEBUG1 ("queue size to %u", source->queue_size_limit); DEBUG1 ("queue size to %u", source->queue_size_limit);
DEBUG1 ("burst size to %u", source->burst_size); DEBUG1 ("burst size to %u", source->burst_size);
DEBUG1 ("source timeout to %u", source->timeout); DEBUG1 ("source timeout to %u", source->timeout);
DEBUG1 ("fallback_when_full to %u", source->fallback_when_full);
} }