summaryrefslogtreecommitdiff
path: root/server/multicast_configuration.cc
diff options
context:
space:
mode:
authordeva <deva>2006-07-20 17:53:17 +0000
committerdeva <deva>2006-07-20 17:53:17 +0000
commit7d39c063ea84b9b30dbe669ac4ae641a49506836 (patch)
treeef1ead10d1736e9ad7ffe139872c86fd2ee00901 /server/multicast_configuration.cc
parentc8df40b62cf30029a4acd1a57c8c54add54dda9b (diff)
Utilized the global info object.
Utilized the global info object. Utilized the global info object.
Diffstat (limited to 'server/multicast_configuration.cc')
-rw-r--r--server/multicast_configuration.cc10
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()