diff options
Diffstat (limited to 'server/multicast_configuration.cc')
-rw-r--r-- | server/multicast_configuration.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/server/multicast_configuration.cc b/server/multicast_configuration.cc index f4e7414..03b4a79 100644 --- a/server/multicast_configuration.cc +++ b/server/multicast_configuration.cc @@ -27,7 +27,9 @@ #include "config.h" #include "multicast_configuration.h" -MulticastConfiguration::MulticastConfiguration(Info *info, char *file) +#include "info.h" + +MulticastConfiguration::MulticastConfiguration(char *file) : MiavConfig(file) { mcastconf_t conf; @@ -77,14 +79,14 @@ MulticastConfiguration::MulticastConfiguration(Info *info, char *file) if(!global) confs.push_back(conf); // Show the configuration in the log file . - info->info("Global - Enabled: %s - Addr: %s - Port: %d - WithAudio: %s", + MIaV::info->info("Global - Enabled: %s - Addr: %s - Port: %d - WithAudio: %s", global_conf.enabled?"Yes\0":"No\0", global_conf.addr.c_str(), global_conf.port, global_conf.with_audio?"Yes\0":"No\0"); for(unsigned int cnt = 0; cnt < confs.size(); cnt++) { - info->info("Client: %s - Enabled: %s - Addr: %s - Port: %d - WithAudio: %s", + MIaV::info->info("Client: %s - Enabled: %s - Addr: %s - Port: %d - WithAudio: %s", confs[cnt].client.c_str(), confs[cnt].enabled?"Yes\0":"No\0", confs[cnt].addr.c_str(), @@ -92,7 +94,7 @@ MulticastConfiguration::MulticastConfiguration(Info *info, char *file) confs[cnt].with_audio?"Yes\0":"No\0"); } - info->info("Chosing:"); + MIaV::info->info("Chosing:"); } MulticastConfiguration::~MulticastConfiguration() |