diff --git a/src/cfgfile.c b/src/cfgfile.c index 3695a91f..829e3e08 100644 --- a/src/cfgfile.c +++ b/src/cfgfile.c @@ -63,7 +63,6 @@ #define CONFIG_DEFAULT_SHOUTCAST_MOUNT "/stream" #define CONFIG_DEFAULT_SHOUTCAST_USER "source" #define CONFIG_DEFAULT_FILESERVE 1 -#define CONFIG_DEFAULT_TOUCH_FREQ 5 #define CONFIG_DEFAULT_HOSTNAME "localhost" #define CONFIG_DEFAULT_PLAYLIST_LOG NULL #define CONFIG_DEFAULT_ACCESS_LOG "access.log" @@ -867,8 +866,6 @@ static void _set_defaults(ice_config_t *configuration) ->shoutcast_user = (char *) xmlCharStrdup(CONFIG_DEFAULT_SHOUTCAST_USER); configuration ->fileserve = CONFIG_DEFAULT_FILESERVE; - configuration - ->touch_interval = CONFIG_DEFAULT_TOUCH_FREQ; configuration ->on_demand = 0; configuration diff --git a/src/cfgfile.h b/src/cfgfile.h index 532c8b12..48cf2d54 100644 --- a/src/cfgfile.h +++ b/src/cfgfile.h @@ -213,8 +213,6 @@ struct ice_config_tag { struct event_registration_tag *event; - int touch_interval; - char *hostname; int sane_hostname; int port; diff --git a/src/configtest.c b/src/configtest.c index f0ca365b..c040bd60 100644 --- a/src/configtest.c +++ b/src/configtest.c @@ -47,7 +47,6 @@ void _dump_config(ice_config_t *config) printf("threadpool_size = %d\n", config->threadpool_size); printf("client_timeout = %d\n", config->client_timeout); printf("source_password = %s\n", config->source_password); - printf("touch_interval = %d\n", config->touch_interval); printf("hostname = %s\n", config->hostname); printf("port = %d\n", config->port); printf("bind_address = %s\n", config->bind_address);